Jump to content

User:MaxHarmony/modern.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
if (mw.config.get('wgCanonicalSpecialPageName') && mw.config.get('wgCanonicalSpecialPageName')=='Watchlist' && mw.config.get('wgAction')=='view') 
$(function () {
 var frm = document.getElementsByTagName('form')[0]
 frm.parentNode.insertBefore(document.createTextNode(' | '), frm)
 var lnk = document.createElement('a')
 lnk.appendChild(document.createTextNode('Unwatch…'))
 lnk.href = 'javascript:importScript("User:Alex_Smotrov/wlunwatch.js")'
 frm.parentNode.insertBefore(lnk, frm)
})


// install [[User:Cacycle/wikEd]] in-browser text editor
mw.loader.load('https://wiki.riteme.site/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript');

importScript('User:Ioeth/friendly.js');
importScript('User:AzaToth/twinkle.js');