Brogramming - Fortune [possible satire]

jozefkanybody with suggestion how can I clean up the code in the way as this tool is doing it temporarily in browser? http://www.howtogeek.com/howto/7188/clean-up-webpages-for-note-taking-or-printing-the-easy-way/
rindolfjozefk: you can define a print stylesheet.
jozefkI want to clean the page from everything. not only to see it like that on screen but to really modify the code
rindolfjozefk: well, you can read what the bookmarklet is doing and emulate it.
jozefkI see the JavaScript code from bookmarklet but I think I can't modify real files on hard disk with JavaScript codes
jozefkand the code is more than 300 lines :)
tm604sure you can, JS runs server-side happily enough, but it'd be just as easy to convert the JS logic to perl.
jozefkthat sounds like programming. I thought there is some tool like that bookmarklet which I can use to modify files on HDD
Altreustm604: except the JS runs on a DOM in a browser, with a browser context
tm604yes, it does sound a bit like programming, doesn't it? good thing this is a programming channel, so it's hopefully still on-topic.
AltreusI don't think there's a node module that will load an HTML file and create a browser context in which to then run JS on that HTML's DOM and output the result
jozefk:)
jozefkDOM is not so important here I think. because JS is removing everything from code and just applying another CSS
jozefkso the page looks different
tm604huh, thought there was. the script itself should be trivial to convert to perl either way.
Altreusprobably a better idea :)
jozefkyeah, better. one day when I become a programmer :) I will do it.
pkruminsI want to become a brogrammer
jozefkwhy?
Altreustaking pictures of bros
pkruminsSo I can do some awesome brogramming, jozefk!
jozefk:))
rindolfpkrumins: yo bro! I hurd you like brogramming so we put your bro in your brogram so you can brogram while you bro!
nate_hrofl
rindolfnate_h: :-)
nate_hshould it be brozefk ?
rindolfrinbrolf
rindolfpk-bro-mins
pkruminsrindolf: i put a browser in your browser
pkruminsrindolf: so you can browse while yo browse
rindolfpkrumins: bro, a browser is so 90s.
fizztpokbroser?
PerlJambowser
nate_hmushroom?
rindolfpkrumins: KDE-4.8.x-beta-something is coming to Mageia Linux 2/Cauldron. \o/
fizztpokI search on duckduckbro!
nate_hco-co-coommmboo breaker
rindolfpkrumins: I'll see how much it fixes and how much it breaks.
rindolfpkrumins: and fix what it breaks and break what it fixes.
rindolfTo preserve the balance in the force.
Channel#perl
NetworkFreenode
TaglineI want to become a brogrammer.
Published2011-12-16