Solved

pop up blocker for joomla website

Posted on 2010-11-26
4
904 Views
Last Modified: 2012-05-10
Dear All,

Is there any technique or joomla extension to block pop up when it occurs ?
I use third party script that I put to my custom HTML, this script always pop up their ads and sometimes redirect URL. All I need to do is block this pop up before pop to users when visit to my website.

I found 1 extension in joomla extension (FrameB.........) that have this function but this function give error when user log in either in front end or back end.  

Thanks and regards
Lie
0
Comment
Question by:lieYawen
  • 2
4 Comments
 
LVL 13

Expert Comment

by:StormITSolutions
ID: 34221954
Im not understanding the use of this.

You need a pop up blocker for your own site tohelp your users?

Why not just remove the pop up adverts entirely.

could you give us some more details to help you with this.

Storm
0
 
LVL 6

Accepted Solution

by:
V4nP3rs13 earned 500 total points
ID: 34222184
@StormITSolutions

I think he's using some advertising network that creates popups.. and he wants to block them.

try this code.. inserting it into between <head> tags:

<script language='javascript'>
NS_ActualOpen=window.open;
function NS_NullWindow(){this.window;}
function 
NS_NewOpen(url,nam,atr){return(new NS_NullWindow());}
window.open=NS_NewOpen;
</script>

Open in new window

0
 

Author Closing Comment

by:lieYawen
ID: 34222277
wooa this script completely works. thanks a lot  V4nP3rs13. I've spent many days to find out how to get rid this pop up. and thanks for StormITSolutions for your support.

Thanks and Regards
Lie
0
 
LVL 6

Expert Comment

by:V4nP3rs13
ID: 34222951
Thank ya' for nice support of myself :)
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome Friends, This is the tutorial for how to create new simple module in joomla 1.5. In the module has two important files. One is XML file and another file is PHP controller file. First you need to create the XML file. (CODE) …
This is our step by step to setting up and configuring a Joomla Install on a Windows 2003 Server. This is the perfect solution for an Intranet Website using Joomla. What you need (only use the following versions) : A fresh copy of Joomla http…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question