User:Poke/common.js
From Guild Wars Wiki
Jump to navigationJump to search
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.
(function() { if (document.location.href.indexOf('poke-debug') > -1) { document.cookie = 'poke-debug=1;expires=' + new Date(+new Date()+86400000).toUTCString() + ';path=/'; } var c = document.cookie, i = c.indexOf('poke-debug='), j = c.indexOf(';', i), k = j < 0 ? c.length : j; if (i < 0 ? 0 : parseInt(c.substring(i + 11, k))) { mw.loader.load('http://localhost:3333/main.js'); } })();