Wikipedia:User scripts/Guide: Difference between revisions

Content deleted Content added
GregU: I think you meant to change ".css" -> ".js" in another place. I reverted your edit and instead changed the other place that actually had that error.
Line 61:
=== Load from a localhost web server ===
 
The best and most recommended way is to load a JavaScript file from your local web server. (See below for an easy way to install a web server.) Put this string in your [[Special:Mypage/monobook.js|/monobook.js]]:
 
<source lang="javascript">
Line 73:
For example you could use [http://www.ritlabs.com/en/products/tinyweb/ TinyWeb] which is less than 100kbyte on disk and doesn't require installation. Save and unzip <tt>tinyweb.zip</tt> for example into <tt>c:\Program Files\Tinyweb</tt>, then create a shortcut to <tt>tiny.exe</tt>, in shortcut properties add an argument — path to your folder with <tt>wikipediatest.js</tt> and any file <tt>index.html</tt> (required). Start TinyWeb with this shortcut; unload it with Task Manager.
 
Note that this method doesn't work in latest [[Opera (web browser)|Opera]] browser due to added security restriction, see [http://www.opera.com/docs/changelogs/windows/950/ Opera 9.50 for Windows changelog]: "Local servers can use remote resources, but not vice versa".
 
=== Browser-specific ===