pixup.us popup

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
msuroxy
Posts: 1
Joined: Wed Feb 24, 2016 4:56 am

pixup.us popup

Post by msuroxy »

There is a javascript on the website

Code: Select all

        <!--
        function popitup(url) {
            newwindow=window.open(url,'name','height=800,width=1024');
            if (window.focus) {newwindow.focus()}
            return false;
        }

function popwin(url) {
window.open('', url, 'height=800, width=1024, resizable=yes');
url.target =url;
}


        // -->



function windowpop(url, width, height) {
    var leftPosition, topPosition;
    //Allow for borders.
    leftPosition = (window.screen.width / 2) - ((width / 2) + 10);
    //Allow for title and status bars.
    topPosition = (window.screen.height / 2) - ((height / 2) + 50);
    //Open the window.
    window.open("http://www.pornz.org", "Window2", "status=no,height=" + height + ",width=" + width + ",resizable=yes,left=" + leftPosition + ",top=" + topPosition + ",screenX=" + leftPosition + ",screenY=" + topPosition + ",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no");
}
Every time i press the (Continue to Image) button, there is a pop-up of that website "pornz" the code of the button is this

Code: Select all

<input class="button white bigwidth" type="submit" name="imgContinue" value="Continue to image ... " onclick="windowpop(this.href, 1280, 720)">
When i remove the onclick from the source code, there is no pop-up,

So, how can i block that "Onclick" Function? Or Block that whole Javascript?

Here is a link if you wanna see the website
WARNING!!!!!! >>>>>>>>>>>>>(Adult Content)NSFW(Adult Content)<<<<<<<<<<<<

Code: Select all

http://pixup.us/img-566ae2e8e6515.html
>>>>>>>>>>>>>(Adult Content)NSFW(Adult Content)<<<<<<<<<<<<
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: pixup.us popup

Post by lewisje »

with ABP, the most you could do in general is disable scripts on the particular site in your browser settings, but if you just want to block that popup, add this custom rule:

Code: Select all

||pornz.org^$popup
Also FTR that last function was coded very poorly: Instead of actually using the url parameter, the body just uses pornz dot org directly, while the inline event handler makes it look as if it's going to use the href attribute of an <input> element (even though <input> elements do not have href attributes).
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: pixup.us popup

Post by mapx »

or add

Code: Select all

|http://$popup,domain=pixup.us
Locked