Hi,
I have a problem. I want to move completely to Google Chrome from Mozilla Firefox, but it has one downside. Firefox has this great addon Adblock Plus Pop-up Addon ( https://addons.mozilla.org/en-US/firefox/addon/83098/ ) which let's me to prevent pop up which is very irritating. Let's call the website which i use frequently as One.lt and the other one, which i want to prevent from opening as Videogaga.lt. When i use One.lt and click on empty space, it makes the pop-up appear which leads to Videogaga.lt. What that Firefox addon does is that when i enter videogaga.lt domain into Adblock filter list, the pop-up doesn't appear. It doesn't block addons in One.lt (which it has many and which ones is important), but it blocks the the pop-up from appearing by the pop-ups address name. I can't block all pop-ups from One.lt, because it would lost all of it's functionality. And that's exactly why i need similar app for Chrome. Or at least to block this JavaScript, which triggers Videogaga.lt pop-up appear. Here is that script:
I would be very pleased if anyone would help me to prevent this irritating pop-up.Code:<script language="javascript" type="text/javascript"> var body = document.getElementById("page-body"); body.onclick=function(evt) { try { evt = (evt) ? evt : event; var sourceStr = ""; if (evt.target) sourceStr += evt.target.tagName; else if (evt.srcElement) sourceStr += evt.srcElement.tagName; if (/(td)|(div)|(tr)/i.test(sourceStr)) window.openWin("http://www.videogaga.lt", "videogaga", "location=yes,status=yes,resizable=yes,toolbar=yes,menubar=yes,scrollbars=yes"); } catch (e) { // skip } } </script>
Thanks.


Reply With Quote