Post Reply 
Killed page works in IE but not Firefox
Sep. 08, 2008, 01:27 AM
Post: #1
Killed page works in IE but not Firefox
I'm using the Sidki 2008-01-02 config and have customized my killed.html file (the one in the Program Files/Proxomitron/html folder) so that it has 2 images on it. The html is as follows:

<center>
<img src="file://c|/Program Files/Proxomitron 1-2-08/html/spam.gif" width="534" height="114"><br>
<img src="file://c|/Program Files/Proxomitron 1-2-08/html/bird.jpg" width="187" height="166"> <br>
<br>
<b>This URL has been designated as spam. </b>
</center>


It should display this page when the browser attempts to load a page that I've blocked in the AdDomains.ptxt list. In Internet Explorer it works perfectly, but in Firefox only the text and background color are shown. The images are just outlined boxes.

Strangely, I can go to the killed.html file in Windows Explorer, double click it, and it loads as it should in Firefox!. What's causing this and how can I get it to display properly in Firefox when a page load has been blocked?
Quote this message in a reply
Sep. 08, 2008, 02:03 AM
Post: #2
RE: Killed page works in IE but not Firefox
I haven't tried it yet but how about changing file://c|/Program Files/Proxomitron 1-2-08/html/spam.gif to http://local.ptron/spam.gif?
Add Thank You Quote this message in a reply
Sep. 08, 2008, 08:53 AM
Post: #3
RE: Killed page works in IE but not Firefox
That worked. Thank you!

Although I'm a little confused about why it worked and the other wouldn't (in Firefox). After looking at "local.ptron" in the Proxomitron help section, it seems that it's used only for accessing items in the html folder. But what if you wanted to make a filter that replaced a web image with one of your own. For example, replace an image like
http://www.google.com/images/logo_sm.gif
with something located at
C:\pics\logos\betterlogo.gif

I thought file:///c|/pics/logos/betterlogo.gif was the way to do it, but again, it loads the image in IE, but not in Firefox.
Quote this message in a reply
Sep. 08, 2008, 09:27 AM
Post: #4
RE: Killed page works in IE but not Firefox
The best way is to put files under proxomitron html folder.

For security purposes, Mozilla applications block links to local files (and directories) from remote files. You can find more info here.
Add Thank You Quote this message in a reply
Sep. 08, 2008, 05:04 PM
Post: #5
RE: Killed page works in IE but not Firefox
Ah. That makes sense. I hadn't thought about the security implications.

Thanks again.
Quote this message in a reply
Post Reply 


Forum Jump: