User:Technical 13/common.js: Difference between revisions

Content deleted Content added
Technical 13 (talk | contribs)
This should be annoying enough...
Technical 13 (talk | contribs)
there... confirm uses true/false instead of null like prompt
Line 1:
/* WikiBreak */
var stillOnBreak = confirm('You are still on a WikiBreak because you need to get your school work done');alert
if(stillOnBreak === false);{
if( stillOnBreak === nullconfirm('Are you sure you are done with your break?'){;
if(stillOnBreak === nullfalse){
stillOnBreak = confirm('Are you sure you are done with your break?');alert(stillOnBreak);
// setTimeout(function(){___location = 'https://en.wikipedia.org/w/index.php?title=User:Technical_13/common.js&action=edit#editform'},1);
if(stillOnBreak === null){
// setTimeout(function(){___location = 'https://en.wikipedia.org/w/index.php?title=User:Technical_13/common.js&action=edit#editform'},1);
} else {
stillOnBreak = alert('You are still on a WikiBreak because you need to get your school work done');
Line 10:
} else {
alert('You are still on a WikiBreak because you need to get your school work done');
// setTimeout(function(){___location = ''},1);
}