Problem with WWWCENSOR

Home Forums Discussions Support Portal Problem with WWWCENSOR

This topic contains 1 reply, has 2 voices, and was last updated by  Vadim Smirnov 4 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5374

    XBitnik
    Participant

    Hi everyone, I’m trying to modify wwwcensor a little,
    I need to block a few pictures on web site, and I used wwwcensor example.
    But I found a little bug or some kind of it…
    When I’m blocking Image or any other stuff my browser (Firefox) still trying to load this image
    for a long-long time (untill I press stop button) I tested this on other browsers: chrome, IE – same thing everywhere. I used this code: http://paste.org/54009
    Here I added GOOGLE.COM – replace this with name of picture on any website, block it, and try to open this page in browser… He will try to load this picture for a long time.
    So my question is: How can I make this thing just block the specified url/string and tell to browser that this url/string is not avilable so page will completle loads.
    May somewone share a working peace of code to fix this problem ?…
    I’m not a professional programmer but I really need this fix.

    I use: Windows XP SP3 / Firefox Browser / And WinpkFilter driver is installed and working great.

    Sorry for my english. I hope I described my problem clearly…

    #7082

    Vadim Smirnov
    Moderator

    Probably the easiest way is resetting the TCP session which tries to fetch the image you would like to block. Manipulations with HTTP server responses is far more complex task.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.