Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to unblock popups? Can we dynamiclay close Google's browser? 2

Status
Not open for further replies.

Katya85S

Programmer
Joined
Jul 19, 2004
Messages
190
Javascript Popups are disabled by Google’s browser (asp.net project). On the bottom bar, left corner, I can see a message "Popups were blocked on this page. Press the 'Cntrl' key to allow the popups".
And pressing the "Cntrl" key does allow popups. Though it would not be a right solution for the project. I did research on those "blocked" popups. Articles say the Google browser disables javascript popups. and that's true: when i have closed (unchecked) my mini google-search browser the popups were working fine. Can we dynamically close the google browser if some of my intranet users happen to have it opened, so they could see messages in popups?
I would appreciate any advices.
Thank you all in advance.
 
Hi,
As far as I know, No..
The user is in complete control if they are using a
pop-up blocker ( Google's or anyones, including XP's SP2 one).

You can only ask them to disable them if they want to use your site, but they may refuse.



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Thank you Turkbear :)
I'll ask 'em then to unblock the messages.
 
You could see if puting your intranet on their trusted websites would allow it. Not sure but just a thought.

As far as the popups, if the javascript runs without any user action, then it does get blocked. You could add code, so if a user clicks on the page, anywhere, it opens your window because the popup blockers think the user made it happen. That should work, maybe something with window.onClick

 
or MouseMove with a javascript variable to prevent more then one event popping up the window :)

barcode_1.gif
 
Thank you guys, Tarwn and the Candyman! Interesting tips.
Many thanks! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top