User:Chriskang/Sandbox/pmw.js
From Guild Wars 2 Wiki
< User:Chriskang | Sandbox
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.
/*<nowiki>*/ var supportPortlet = document.getElementById('p-support'); var columnOne = document.getElementById('column-one'); if (columnOne != null) { columnOne.removeChild(supportPortlet); columnOne.appendChild(supportPortlet); } if (window.location.href.search('/wiki/File:') == 26) { window.location.href = '/index.php?title=' + window.location.href.substring(32) + '&redirect=no'; } /*</nowiki>*/