Files:Generic files: Difference between revisions

Jump to navigation Jump to search
m
(massadd generic files)
Line 36: Line 36:


==How can I easily add several generic files at once?==
==How can I easily add several generic files at once?==
Easy with a javascript bookmarklet.
Easy with a javascript bookmarklet.<br>
 
Create a new bookmark in your browser and copy & Paste the following line into the url field of the bookmark:
:1. Create a new bookmark in your browser
:2. Copy & Paste the following line into the url field of the bookmark:
<pre>javascript:var elems = document.getElementsByTagName("i"); for(i=0; i<elems.length; i++){var elem =
<pre>javascript:var elems = document.getElementsByTagName("i"); for(i=0; i<elems.length; i++){var elem =
elems.item(i); if (elem.innerHTML == "generic file"){elem.parentNode.previousSibling.childNodes.item(1).
elems.item(i); if (elem.innerHTML == "generic file"){elem.parentNode.previousSibling.childNodes.item(1).
checked = true;};} exit(0);</pre>
checked = true;};} exit(0);</pre>
:3. If you move that bookmark now into a toolbar (FF: bookmark-toolbar; IE: links) you can use it like a button.
If you move that bookmark now into a toolbar (FF: bookmark-toolbar; IE: links) you can use it like a button. Before using it you must do an "expand all" on the animeentry you want to add!
:4. Before using it you must do an "expand all" on the animeentry you want to add!


{{eyecatch|Note:|Iit also selects the special/extra files at the bottom, but it's far easier to unselect a handful of those than to select 30+ or 100+ little checkboxes.}}
{{eyecatch|Note:|Iit also selects the special/extra files at the bottom, but it's far easier to unselect a handful of those than to select 30+ or 100+ little checkboxes.}}

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.