Old Proxomitron Forums

Proxomitron Filters - Discussions welcome => Other => Topic started by: Admin on July 30, 2001, 10:29:27 PM

Title: Local file shortcut
Post by: Admin on July 30, 2001, 10:29:27 PM
http://arne.jaha.dk/download.php/1,22,12/id27.zip

Greetings!

Here is a header filter to help entry of local filenames into the browser's
location input bar.

UPDATE:
Remember to put a password in the URL command Prefix in the config dialog. Then you must add the password in red below here.

-------------------------8<----------------------------
[HTTP headers]

In = FALSE
Out = TRUE
Key = "URL: Enable local file shortcut with URL commands [x.D../PATH/FILENAME]"
URL = "(b.$SET(1=bypass..)|s.$SET(1=src..)|d.$SET(1=dbug..)|)"
      "([a-z])../(#s$SET(#=%20))+#&$RDIR(http://password1file..:/@)"


--------------------------8<---------------------------
Title: Local file shortcut
Post by: Arne on August 20, 2001, 11:12:36 AM
This filter will give you the option to get local htm files into you browser window through Proxomitron. It is used like this:

type into your URL field in your browser:
c../myfile.htm or c../mypath/myfile.htm

If you wish to bypass Proxomitron then use it like this:
b.c../myfile.htm

If you wish to see the source (the src command) use it like this:
s.c../myfile.htm

And at last you can go into debug mode with:
d.c../myfile.htm


Best wishes
Arne
Imici username: Arne
Title: Local file shortcut
Post by: Jor on August 21, 2001, 02:16:53 AM
Thanks for this filter!

Finally a version that works in Opera...
Title: Local file shortcut
Post by: Arne on August 21, 2001, 08:27:20 AM
Nice to know. When you do find filters that work or does not work in Opera, I and others would appreciate your remark on it. People need to know what works in which browsers, and I do not have time to test them all. The same goes for people using Netscape. I mostly use IE and only test them in this browser.


Best wishes
Arne
Imici username: Arne
Title: Local file shortcut
Post by: Arne on September 26, 2001, 10:06:33 AM
I have made a change to this filter, since my harddisk is split into c: and d: it did not work for disk D:

I therefore changed the d into a g.

URL = "(b.$SET(1=bypass..)|s.$SET(1=src..)|g.$SET(1=dbug..)|)"
"([a-z])../(#s$SET(#=%20))+#&$RDIR(http://password1file..:/@)"


Best wishes
Arne
Imici username: Arne