The Un-Official Proxomitron Forum
rewriting window.open javascript - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Forum Related (/forumdisplay.php?fid=37)
+--- Forum: Proxomitron Program (/forumdisplay.php?fid=4)
+--- Thread: rewriting window.open javascript (/showthread.php?tid=288)



- mezzanine - Nov. 11, 2004 06:02 PM

My problem is...

I often see pop-up windows without status bar and location field and I wanted to write a proxomitron filter to enable these. But the problem is more complex than I thought. Sometimes location=0 and status=0 isn't in javascript code, because IE opens new window default without location and status bar. And sometimes the opened url is from many fragments like this:
photoWindow=window.open( 'photo_show.php?photo_id='+photo_id+'&user_id='+user_id, 'photoWindow', 'width=760,height=570,toolbar=0,location=yes,directories=0,menuBar=0,scrollBars=1,resizable=1' );
So... I'm a beginner and I couldn't create a good rule for these, but I hope you can help me.

Zoli


- z12 - Nov. 12, 2004 01:47 PM

Hi Zoli,

Welcome to the Un-Official Proxomitron Forum.

If your running proxo's default config, enable this web filter "Force pop-ups to have browser controls".

Note that this filter only works if the "Kill pop-up windows" & "Restore pop-ups after a page loads" web filters are enabled.

HTH
Mike


- mezzanine - Nov. 13, 2004 05:08 PM

Ooops... I didn't saw that...
Thanks!! It works now fine!