Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Best text-based browser for userscripting?

Name: Anonymous 2011-03-01 13:37

Hi /prog/,

Hope you don't mind if the question is beginner related or bringing back over-discussed themes.

What should I use if I want to customize how the Web is displayed, on a per-page basis? Browsing text content and navigating in POST fields would be the only feature. Hiding things, moving others... Platform is /dev/tty and BBCode or Javascript are not needed. Should I look at some open source lynx/elinks/w3m and use or write a module? (contribute) Emacs/W3? (I'd rather not) Or should I just fail at writing my own html/css parser? (autism+procrastination)

Do you, riders, have advices?

Name: fair enough 2011-03-02 4:14

1) use a http proxy on your home computer that sits between the web and your TTY browser (use some established browser like elinks or whatever it is blind people use nowadays).

2) make some script in whatever language you want and have your proxy run all traffic through it. get this script to rewrite HTML pages in whatever way you need. you could have this script first check the domain name and look through the FS to see if a custom script for that domain exists.

----

you can find Node.JS http proxies easily... i don't think you'll need anything more powerful than that since it will only be serving 1 user through the proxy. IIRC node.js also does DOM etc so you should have no problem rewriting whatever to whatever.
bump this thread if you need more help getting set up.

also, use scroogle.com instead of google.com
(this advice is...not just for blind people)

Name: Anonymous 2011-03-02 4:16

also, there's a GreaseMonkey proxy on cpan:
http://search.cpan.org/dist/HTTP-Proxy-GreaseMonkey/

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List