User:Dragoniez/common.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Dragoniez (talk | contribs)
mNo edit summary
Dragoniez (talk | contribs)
No edit summary
Tag: Reverted
Line 5: Line 5:
//mw.loader.load('http://127.0.0.1:5500/wikipediaglobaltest.js');
//mw.loader.load('http://127.0.0.1:5500/wikipediaglobaltest.js');
//mw.loader.load('http://127.0.0.1:5500/wikipediaglobaltest2.js');
//mw.loader.load('http://127.0.0.1:5500/wikipediaglobaltest2.js');

($ => {
$.getScript('//testwiki.wiki/wiki/Test.js&action=raw&ctype=text/javascript', function() {
console.log(TEST);
});
})(jQuery);

Revision as of 17:15, 18 June 2022

mw.loader.load('http://127.0.0.1:5500/Test/wikipediatest.js');
mw.loader.load('http://127.0.0.1:5500/Test/wikipediatest2.js');
mw.loader.load('http://127.0.0.1:5500/Test/wikipediatest3.js');
mw.loader.load('http://127.0.0.1:5500/Test/wikipediatest4.js');
//mw.loader.load('http://127.0.0.1:5500/wikipediaglobaltest.js');
//mw.loader.load('http://127.0.0.1:5500/wikipediaglobaltest2.js');

($ => {
    $.getScript('//testwiki.wiki/wiki/Test.js&action=raw&ctype=text/javascript', function() {
        console.log(TEST);
    });
})(jQuery);