User:PiRSquared17/twinkle.js
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Updated based on AzaToth's Twinkle (from en)
* on May 23, 2011.
*/
importScript('User:PiRSquared17/morebits.js');
importStylesheet("User:Orashmatash/morebits.css");
var interval_id = setInterval( "checkLoaded()", 50 );
var interval_count = 0;
function checkLoaded() {
if( interval_count == 100 ) {
clearInterval( interval_id );
throw "Failed to load morebits.js (timeout after 5 seconds)";
return;
} else if( typeof( morebits_js_loaded ) != 'undefined' && morebits_js_loaded ) {
clearInterval( interval_id );
importScript('User:EhJJ/twinklefluff.js');
importScript('User:EhJJ/twinklewarn.js');
importScript('User:EhJJ/twinklespeedy.js');
importScript('User:EhJJ/twinklediff.js');
importScript('User:EhJJ/twinklearv.js');
importScript('User:PiRSquared17/twinklexfd.js');
importScript('User:PiRSquared17/friendlyclock.js');
importScript('User:PiRSquared17/friendlyshared.js');
importScript('User:PiRSquared17/friendlytabs.js');
importScript('User:PiRSquared17/friendlytag.js');
importScript('User:PiRSquared17/friendlytalkback.js');
importScript('User:PiRSquared17/friendlywelcome.js');
/* Other scripts available on en have not been imported */
}
interval_count++;
}