Solved

pop up blocker for joomla website

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In the following article I will try to explain some of the issues I had learning Joomla and I hope this helps all of you beginners out there that love the concept but find it confusing and difficult to manage and configure a Joomla website. Like …
What you will need: Any version of Photoshop or similar product (examples in Photoshop) Internet Access FTP Access to your joomla install or ability to upload images within joomla administrator backend Create Image: Lets start off with cre…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

707 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

18 Experts available now in Live!

Get 1:1 Help Now