Gay
Last edited:
What do I do with that?
Why did you disable right click?What do I do with that?
Probs so no one can go to view-source or inspect element when it is so simple to bypass that.Why did you disable right click?
didnt workIt is JavaScript, aka you make a file saved as .js and link it from html by adding <script src="yourjsfile.js"></script> then you paste that code in the js file.[DOUBLEPOST=1515601094][/DOUBLEPOST]function startTime() {
var today = new Date();
var h = today.getHours();
var m = today.getMinutes();
var s = today.getSeconds();
m = checkTime(m);
s = checkTime(s);
document.getElementById('txt').innerHTML =
h + ":" + m + ":" + s;
var t = setTimeout(startTime, 500);
}
function checkTime(i) {
if (i < 10) {i = "0" + i}; // add zero in front of numbers < 10
return i;
}
that might work, not 100% sure.
For JavaScriptdidnt work![]()
Didn't work again ripFor JavaScript
function date_time(id)
{
date = new Date;
year = date.getFullYear();
month = date.getMonth();
months = new Array('January', 'February', 'March', 'April', 'May', 'June', 'Jully', 'August', 'September', 'October', 'November', 'December');
d = date.getDate();
day = date.getDay();
days = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday');
h = date.getHours();
if(h<10)
{
h = "0"+h;
}
m = date.getMinutes();
if(m<10)
{
m = "0"+m;
}
s = date.getSeconds();
if(s<10)
{
s = "0"+s;
}
result = ''+days[day]+' '+months[month]+' '+d+' '+year+' '+h+':'+m+':'+s;
document.getElementById(id).innerHTML = result;
setTimeout('date_time("'+id+'");','1000');
return true;
}
For HTML
Put this in the body, might work now. otherwise I won't know xD
<span id="date_time"></span>
<script type="text/javascript">window.onload = date_time('date_time');</script>
Ctrl+shift+I is one wayProbs so no one can go to view-source or inspect element when it is so simple to bypass that.
Because the other site has it disabled as well. :rofl:Why did you disable right click?
But why is it disabled on that one?Because the other site has it disabled as well. :rofl:
The creator of the site probably thinks their ideas are unique and don't want it to be stolen, maybe? Honestly, I have no idea.But why is it disabled on that one?
You can easily steal it..The creator of the site probably thinks their ideas are unique and don't want it to be stolen, maybe? Honestly, I have no idea.
I know you can still access the source. And are you asking me or the op?You can easily steal it..
So did you take their website and use it as your own or
The other guy yeahI know you can still access the source. And are you asking me or the op?![]()
