Jump to content

User:Inka 888/vector.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.
importScript('User:Lupin/recent2.js');
importScript('User:Ale_jrb/Scripts/igloo.js'); // [[User:Ale_jrb/Scripts/igloo]] lang="javascript">
$(function () {
mw.util.addPortletLink( "p-personal", 
 mw.config.get('wgServer') + mw.config.get('wgScriptPath') + "/index.php?title=User:Ale jrb/Scripts/igloo/init",
 "launch igloo", "pt-igloo", "launch igloo",
 "i", document.getElementById("pt-watchlist"));
});
importScript('User:TheDJ/qui.js');
importScript('User:AzaToth/twinkle.js');
$(function() {
        var elems = document.getElementsByClassName('editsection');
        for (i = 0; i < elems.length; i++) {
                var span = document.createElement('span');
                var link = document.createElement('a');
                link.href = '#top';
                link.appendChild(document.createTextNode('back to top'));
                span.appendChild(document.createTextNode('['));
                span.appendChild(link);
                span.appendChild(document.createTextNode('] '));
                elems[i].insertBefore(span, elems[i].firstChild);
        }
});