Solved

pop up blocker for joomla website

Posted on 2010-11-26
4
900 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I write a [B] flag for Rewriterules? 6 474
how to change page title in joomla 4 217
Clone Joomla Site 4 124
Joomla main HTML page 4 67
Change Joomla Logo Graphic This tutorial goes over the steps to change the Joomla Logo in the template you are using. For this example we will be assuming you are using the rhuk_milkyway Joomla Template which is installed by default. You will …
Here is a tutorial for making your own Joomla templates. Note before reading, you should have some existing knowledge of web development using HTML and CSS. Design Layout: Design your template in a graphics program like Adobe PhotoShop or Corel…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now