Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: A userscript/userjs to cleanup older releases on PAUSE

by Anonymous Monk
on Oct 04, 2012 at 02:43 UTC ( #997163=note: print w/replies, xml ) Need Help??


in reply to A userscript/userjs to cleanup older releases on PAUSE

use firefox, right click checkbox, inspect element (q), use the info to generate an xpath, say  //input[@type="checkbox"] ie  $('input[@type="checkbox"]')  

Then check http://api.jquery.com/ for "check" and find whoa :) http://api.jquery.com/checkbox-selector/, so

 $(':checkbox').click(); clicks all of them

of if you know form name you might use $('form[@name="the name"]').filter(':checkbox').click();

Use themes for Anonymous Monk or try out themes without changing display settings to add jQuery to a page (one click) then click your check-all bookmarklet

javascript:(function(){ your code here })()
and you're set

Replies are listed 'Best First'.
Re^2: A userscript/userjs to cleanup older releases on PAUSE
by Anonymous Monk on Oct 04, 2012 at 02:53 UTC
Re^2: A userscript/userjs to cleanup older releases on PAUSE
by sedusedan (Monk) on Oct 04, 2012 at 03:00 UTC

    Thanks, I get the DOM/jQuery/injecting script part (I'm using Opera myself and all I need to do is to put a JavaScript file in a specified userjs/ directory). It's the bit of selecting the older releases' files (and not the current releases') that I'm hoping someone has already written.

    Anyway, I'm hacking on it... Will be posting to my blog when it's done.

        You're anonymous, who let you have a PAUSE account?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997163]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2016-12-05 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (84 votes). Check out past polls.