Post Reply 
rewriting window.open javascript
Nov. 11, 2004, 06:02 PM
Post: #1
 
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
Add Thank You Quote this message in a reply
Nov. 12, 2004, 01:47 PM
Post: #2
 
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
Add Thank You Quote this message in a reply
Nov. 13, 2004, 05:08 PM
Post: #3
 
Ooops... I didn't saw that...
Thanks!! It works now fine!
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: