View previous topic :: View next topic |
Author |
Message |
PhiJ Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 20 Dec 2005 Posts: 173 Location: UK
|
Posted: Tue Mar 02, 2010 9:58 pm Post subject: editing html before it hits my browser |
|
|
There's a bug on the network I'm under, so when I download a page from nlab, it inserts invalid code into the page and firefox/uzbl can't view it.
I'd like to write a script which will remove the bad code from any webpages from ncatlab.org before they reach the browser, and was wondering if anybody could advise me as to how I might do that.
I've been told that greasemonkey might work in firefox, but I'd like to do something that is further 'back' ('then it will work in uzbl and wget' as well as 'that sounds like the better way to do it').
I'm connecting to the web using dhcp. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23100
|
Posted: Wed Mar 03, 2010 3:09 am Post subject: |
|
|
I suppose it is out of the question to use https, to prevent the broken device from mangling your stream? For that matter, can the broken device be fixed or taken offline, thereby benefiting everyone in the area? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PhiJ Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 20 Dec 2005 Posts: 173 Location: UK
|
Posted: Wed Mar 03, 2010 7:35 am Post subject: |
|
|
No. The website doesn't seem to accept https (I'd be surprised if it did) and the network is not under my control. I filed a bug report and got a 'why can't you use IE, it works in IE' back.
Perhaps got a bit too irate at them for that, and haven't heard back since. I suppose it's possible that they're quietly fixing it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dr.Willy Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 15 Jul 2007 Posts: 547 Location: NRW, Germany
|
Posted: Wed Mar 03, 2010 12:08 pm Post subject: |
|
|
Well, if you want something that is further back than Greasemonkey and thelike you should have a look at those filtering proxies like proxomitron and bfilter. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mad Merlin Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 09 May 2005 Posts: 1155
|
Posted: Thu Mar 04, 2010 12:28 am Post subject: |
|
|
Dr.Willy wrote: | Well, if you want something that is further back than Greasemonkey and thelike you should have a look at those filtering proxies like proxomitron and bfilter. |
Or privoxy. _________________ Game! - Where the stick is mightier than the sword! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|