Solved

pop up blocker for joomla website

Posted on 2010-11-26
4
917 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 14

Expert Comment

by:Allan Nisbet
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need some help to double-check JoomlaStats 14 302
Website Email Link Cloaking with Joomla 6 212
Joomla Session Refresh 6 215
Joomla Appearance Question 11 115
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…
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…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

737 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