Content deleted Content added
a script automating the filling of the {{cite web}} template |
more info |
||
Line 1:
'''WebRef''' is a script automating the filling of the {{template|cite web}} template. You run the script on the page you want to cite.
The script can be used as a [[bookmarklet]] with the following address:
Line 8:
To test the script, you can just execute [[User:V111P/js/webRef.js|its source code]] in your browser's JavaScript console. Make sure you are on a page with (only one) article on it, for example on a news site.
''You can edit this page. If I don't like or understand something you wrote, I will correct it.'' ;)
== How to create a bookmarklet ==
It depends on your browser.
* In Firefox on any any bookmark in the bookmark menu. Select ''New Bookmark'', enter a name (for example ''WebRef'') in the Name field, enter the JavaScript given above in the address field (Location).
* In Internet Explorer you can create a bookmark of any page in the usual manner (Add to favorites), then right-click it in the favorites menu, choose Properties, enter the JavaScript given above in the URL field, change the name (in the General section) to ''WebRef''.
* In Google Chrome and Opera - press Ctrl+D and then the button Edit (for Chrome) or Properties (for Opera), change the name and address as for the other browsers.
== See also ==
* The source code: [[User:V111P/js/webRef.js|main file]], [[User:V111P/js/webRefSetup.js|site setup file]]
* [[User:V111P/js|My user scripts]]
|