![]() |
|
Content of killed.html shown as text - Printable Version +- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums) +-- Forum: Proxomitron Filters (/forumdisplay.php?fid=38) +--- Forum: Filter Help/Request (/forumdisplay.php?fid=31) +--- Thread: Content of killed.html shown as text (/showthread.php?tid=1855) |
Content of killed.html shown as text - femp1345 - Nov. 26, 2011 05:23 PM Hello, I noted that the html codes in killed.html is shown as text rather than like a web page. Using the header filter: URL-Killer: kill-a-URL (out) Replacement: URL killed \k Proxomitron ver 4.5 Browser: Firefox 7 Is this a browser issue or ... ? RE: Content of killed.html shown as text - JJoe - Nov. 26, 2011 06:15 PM (Nov. 26, 2011 05:23 PM)femp1345 Wrote: Is this a browser issue I don't think so. Open the Proxomitron's log window, enable "Local file requests", what is the Content-Type header for "killed.html"? RE: Content of killed.html shown as text - femp1345 - Nov. 26, 2011 09:35 PM From the log, I think the ad is killed by the filter "URL-Killer" And the replaced local file is treated as text/plain by Proxomitron (Content-Type) RE: Content of killed.html shown as text - JJoe - Nov. 26, 2011 11:50 PM Interesting, for what address is the Proxomitron returning a local file that is Content-type: text/plain? I set the URL-Killer to block everything. The Log looks like: Code: +++GET 3+++I can see that the Proxomitron caught the request and returned a local file, Content-type: text/html. Browser displays empty page, source code is Code: <!--//--><html><head><title>Connection Killed!</title></head></html>When I requested something that might be an image Code: +++GET 6+++the proxomitron returned a local file, Content-type: image/gif aka killed.gif. RE: Content of killed.html shown as text - JJoe - Nov. 27, 2011 04:12 PM I'll guess, the blocked address does not appear to be an image and that the Proxomitron returns "killed.html", Content-type: text/html. However, the browser is expecting a file for a dynamic element or an image and displays the contents of "killed.html". If so, you may need to provide a more appropriate file, no file, or filter some code in the page's html. HTH RE: Content of killed.html shown as text - femp1345 - Nov. 27, 2011 09:38 PM Thank you for the reply. It was noted in a few ads. One of it being over a flash player. I modified the killed.html to a single character which eliminated most of the problems..., except in some banner-like ads which are filled with a completely opaque background. |