Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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


Comment on Re: A userscript/userjs to cleanup older releases on PAUSE
Select or Download Code
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-08-29 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls