Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
editing html before it hits my browser
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
PhiJ
Apprentice
Apprentice


Joined: 20 Dec 2005
Posts: 173
Location: UK

PostPosted: Tue Mar 02, 2010 9:58 pm    Post subject: editing html before it hits my browser Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23100

PostPosted: Wed Mar 03, 2010 3:09 am    Post subject: Reply with quote

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
View user's profile Send private message
PhiJ
Apprentice
Apprentice


Joined: 20 Dec 2005
Posts: 173
Location: UK

PostPosted: Wed Mar 03, 2010 7:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Dr.Willy
Guru
Guru


Joined: 15 Jul 2007
Posts: 547
Location: NRW, Germany

PostPosted: Wed Mar 03, 2010 12:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mad Merlin
Veteran
Veteran


Joined: 09 May 2005
Posts: 1155

PostPosted: Thu Mar 04, 2010 12:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum