Uassets: lexlog.pl

Created on 20 Jul 2019  路  10Comments  路  Source: uBlockOrigin/uAssets

http://lexlog.pl/newsletter-a-rodo/

blocked right click / select / maybe also copy by generally inline JS:

<script type="text/javascript">
/*<![CDATA[*/
document.oncontextmenu = function() {
    return false;
};
document.onselectstart = function() {
    if (event.srcElement.type != "text" && event.srcElement.type != "textarea" && event.srcElement.type != "password") {
        return false;
    } else {
        return true;
    }
};
if (window.sidebar) {
    document.onmousedown = function(e) {
        var obj = e.target;
        if (obj.tagName.toUpperCase() == 'SELECT' ||
            obj.tagName.toUpperCase() == "INPUT" ||
            obj.tagName.toUpperCase() == "TEXTAREA" ||
            obj.tagName.toUpperCase() == "PASSWORD") {
            return true;
        } else {
            return false;
        }
    };
}
document.ondragstart = function() {
    return false;
};
/*]]>*/
</script>

All 10 comments

.blogger .format-quote{ padding:40px 60px 60px !important;pointer-events:none; border-width:0 !important;}

Some maybe blocked by CSS3?

CSS blocking as well: pointer-events

Now I cannot found where is .blogger .format-quote - so maybe this is only outdated CSS on site 馃.

For Firefox 57 + uBO 1.15+ works:

lexlog.pl##^script:has-text(oncontextmenu):has-text(onmousedown):has-text(ondragstart)

@krystian3w the pointer-events CSS rule is in this stylesheet:
http://lexlog.pl/wp-content/themes/reading/style.css?ver=f43adade1c3c69f6987876339a225886

That stylesheet is part of a WordPress theme: http://themnific.com/theme/reading-theme/

Couldn't you also use lexlog.pl##*:style(pointer-events:auto!important)?

No :shit: Sherlock. You discovered 馃寧... 馃槃.


Where I found exist: .blogger .format-quote? IMO nowhere.

Oh, you mean in the DOM. Sorry....

Couldn't you also use lexlog.pl##*:style(pointer-events:auto!important)?

for only belaying / assurance.

We must abort inline script also.

@okiehsch you forget a closing parenthesis on the last filter you added.

Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Jose1971AB picture Jose1971AB  路  3Comments

efih picture efih  路  4Comments

ghost picture ghost  路  3Comments

KiLL4FuNK picture KiLL4FuNK  路  4Comments

BurungHantu1605 picture BurungHantu1605  路  3Comments