Page 1 of 2
Feature Select all from this group: Firefox script
Posted: Fri Aug 05, 2005 8:57 pm
by Lupin III.
For everyone, who wanted the feature to select all the files of a group with a single click, I wrote a script for Firefox.
It displays a checkbox besides every name in the grouplist of an anime. Clicking this checkbox (de)selects all files of this group. For details read this thread:
http://www.anidb.net/forum/viewtopic.php?t=4093
In short: you have to install the greasemonkey Firefox-extension (
http://greasemonkey.mozdev.org/) and then install the userscript located at
http://www3.sympatico.ca/techniko/anidb.user.js (click the link and select "Install User Script" from the Tools-menu while the file is displayed in the browser-window)
Many thanks to TechNiko for providing the space for the script.
And that's all you got to do. Visit an anime listing to see it work!
Posted: Tue Aug 09, 2005 5:36 pm
by Der Idiot
I had to check with exp first if he approved of this. As he did it's now also in the wiki:
http://www.anidb.net/wiki/index.php?tit ... fox_Script
note him approving this does not mean it will get added to the actual webinterface. it will always stay an inofficial "addon".
anyway thx for this. many people will like that ^^
Posted: Tue Aug 09, 2005 6:21 pm
by TechNiko
AniDB-Site-Enhancer Version 20051210.01
FireFox extension Greasemonkey userscript
by Lupin III
This script adds two new features to the AniDB.net anime pages.
See Screenshot HERE
- It allows you to select all files from a same group with a single click. Quickly add or remove files from your AniDB MyList for a whole series at once instead of adding them one at a time.
- It allows you to vote for animes more precisely, with 2 decimals. Ex. Vote 8.25
Install:
- Step 1 - Install the greasemonkey Firefox-extension (http://greasemonkey.mozdev.org/)
- Step 2 - Install one of the userscripts (links below) by clicking the link and selecting "Install User Script" from your browser's [Tools] menu while the file is displayed in the browser window.
And that's all you got to do. Visit an AniDB anime page, expand all file entries with the (+) button and see it work!
Scripts:
Posted: Tue Aug 09, 2005 9:11 pm
by PetriW
I don't think exp likes any script that allows people to add a lot of files to your mylist with very little effort. Some users have abused features like this to create stat whore mylists.
Posted: Tue Aug 09, 2005 10:07 pm
by Der Idiot
PetriW wrote:I don't think exp likes any script that allows people to add a lot of files to your mylist with very little effort. Some users have abused features like this to create stat whore mylists.
i asked him about it and he said it's ok with him
[ 18:48:59 ] [ @DerIdiot ] btw exp:
http://www.anidb.net/forum/viewtopic.php?t=4130
[ 18:49:03 ] [ @DerIdiot ] your thought on that?
[ 18:49:15 ] [ @DerIdiot ] if it's ok with you i would add it to the wiki
[ 18:56:15 ] [ @EXP[BUSY] ] i don't have anything against it @ firefox script
[ 18:56:20 ] [ @EXP[BUSY] ] so feel free to make a wiki entry
[ 18:56:55 ] [ @EXP[BUSY] ] the ppl who would actually use it aren't the ones we're concerned with

[ 19:06:57 ] [ @DerIdiot ] ok
[ 19:07:02 ] [ @DerIdiot ] justw anted to make sure
[ 19:07:30 ] [ @DerIdiot ] i was a bit concerned about it.
wiki updated with new info and relocated:
http://www.anidb.net/wiki/index.php?tit ... fox_Script
Posted: Tue Aug 09, 2005 10:19 pm
by Rar
TechNiko: Freakin' wiki it, don't paste doccu here. The baka has
got the ball rolling already.
Rar
Posted: Wed Aug 10, 2005 6:32 am
by DonGato
DerIdiot, don't know if you already added it or where you want to add it but you also have this bookmarklet for selecting all generics:
Code: Select all
javascript:var elems = document.getElementsByTagName(%22i%22); for(i=0; i<elems.length; i++){var elem = elems.item(i); if (elem.innerHTML == %22generic file%22){elem.parentNode.previousSibling.childNodes.item(1).checked = true;};} exit(0);
Posted: Wed Aug 10, 2005 10:08 am
by Amour
Oh, and is there the same thing for ed2k links by group?
Posted: Wed Aug 10, 2005 11:19 am
by Der Idiot
DonGato wrote:DerIdiot, don't know if you already added it or where you want to add it but you also have this bookmarklet for selecting all generics:
Code: Select all
javascript:var elems = document.getElementsByTagName(%22i%22); for(i=0; i<elems.length; i++){var elem = elems.item(i); if (elem.innerHTML == %22generic file%22){elem.parentNode.previousSibling.childNodes.item(1).checked = true;};} exit(0);
already in on the generic files page
Posted: Sun Dec 04, 2005 8:26 pm
by darcon
I upgraded to Firefox 1.5 and greasemonkey 0.6.4 and the script no longer works
Anyone else having this problem?
Posted: Sun Dec 04, 2005 8:56 pm
by Rar
Always happens with major Firefox upgrades, wait for the mod authors to release new versions. The grease is popular, won't be long.
Rar
Posted: Sun Dec 04, 2005 10:02 pm
by Lupin III.
The failure was due to some modification to the API of FF and GM and how GM interacts with FF. I've made some changes to the script to get it working again and sent it to TechNiko. I hope that it made it through the PM without errors and that he will exchange the scripts on his webspace soon.
Posted: Sun Dec 04, 2005 10:06 pm
by Guest
wow that was quick, thanks for your hard work

Posted: Sun Dec 04, 2005 11:01 pm
by TechNiko
Website updated with the new version fo the scripts.
You can download them
on the wiki of course.
Posted: Mon Dec 05, 2005 1:31 am
by exp
this script is likely to get broken by the css changes to the animepage which will be happening soon.
in the long run it is probably better to go into a browser independend direction by providing custom javascript files (the new anime page will be mostly generated by javascript code)
BYe!
EXP