Wikipedia:User scripts/Guide: Difference between revisions
Content deleted Content added
m →Loading it from a localhost web server: ce x2 [Factotum] |
|||
Line 136:
</syntaxhighlight>
In some environments, you need to write this as:<ref>https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content</ref>
<syntaxhighlight lang="javascript" copy style="min-width:fit-content; max-width: 40%">
mw.loader.load( 'http://127.0.0.1/wikipediatest.js' );
|