Difference between revisions of "User:Waldir/vector.js"
(retry) |
|||
Line 3: | Line 3: | ||
addOnloadHook(function () { | addOnloadHook(function () { | ||
− | + | alert("it works?"); | |
− | + | // if(wgCanonicalSpecialPageName == 'Contributions') | |
− | + | // addPortletLink('p-cactions', 'javascript:alert("it works!")', 'show/hide top', 'ca-hidetop', | |
+ | // "Show/hide pages for which you're the top contributor", ''); | ||
}); | }); |
Revision as of 12:55, 22 November 2012
importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Js/6tabs-vector.js&action=raw&ctype=text/javascript'); importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Markhurd/hidetopcontrib.js&action=raw&ctype=text/javascript'); addOnloadHook(function () { alert("it works?"); // if(wgCanonicalSpecialPageName == 'Contributions') // addPortletLink('p-cactions', 'javascript:alert("it works!")', 'show/hide top', 'ca-hidetop', // "Show/hide pages for which you're the top contributor", ''); });