Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I've tacked the following at the end of your userscript:

    var deps = document.evaluate(
        "//a[contains(text(),'CPAN Dependencies')]",
        document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null );

    if ( deps.snapshotLength > 0 ) {
       GM_xmlhttpRequest({
            method: "GET",
            url: deps.snapshotItem(0).href,
            onload: function ( resp ) { mashupDeps( resp, deps ) }
        });
    }

    function mashupDe

    • Heh :) Now I need to implement GM_xmlhttpRequest in HTTP::Proxy::GreaseMonkey so it works in Safari too...
      • Oh my. On one hand, it should not be impossible, as it's all Javascript and one only has to dig in GreaseMonkey's code to find what's needed. On the other hand, I just peeked at the said GM code, and it's a pretty substancial amount of code. Something tells me it's going to be quiiiite an interesting feature to implement. Good thing that the Christmas vacations and insane quantities of eggnog are just around the corner... :-)

        • I've just released 0.03 which supports GM_xmlhttpRequest and runs your modified version of the script on Safari and FireFox. And to think Aristotle said it couldn't be done :)
          • Doing the impossible. Within 12 hours of the challenge's inception.

            Whoa. Your script-fu *is* strong. 8-o