NanoAdblocker / NanoFilters

Script snippets and filters
GNU General Public License v3.0
126 stars 28 forks source link

[Annoyance, Cookie Wall] pocztapolska24.pl #496

Closed krystian3w closed 4 years ago

krystian3w commented 4 years ago

URLs where this issue occurs (Required)

http://pocztapolska24.pl/

Screenshots (Required)

obraz obraz
with translation without translation

Screenshot of console (Required, press F12 to open the console)

N/A

Describe the issue (Optional if obvious)

Cookie wall, without accept do not work drag-and-drop files and standard attach button.

Reproduction Steps (Optional if trivial)

  1. open that site
  2. try cut pop-up with
  3. try upload file with button or drag-and-drop method
  4. site block actions with JavaScript:
function() {
  TweenMax.set($('#drop'), {
    className: 'active'
  });
  cookieData[COOKIE_NAME] = COOKIE_KEY;
  createCookie(cookieData, COOKIE_DAYS);
  activateDropZone();
  var tl = new TimelineMax({});
  tl.to($('#terms').parent(), 1, {
      css: {
        opacity: 0
      },
      ease: Power0.EaseNone
    })
    .set($('#terms-drop'), {
      css: {
        visibility: 'hidden',
        display: 'none'
      }
    });
}
$(function() {

        // checking cookie
        var x = readCookie(COOKIE_NAME);
        if (x === COOKIE_KEY) {
            activateDropZone();            
        } else {
            TweenMax.set($('#terms-drop'), { css: { visibility: 'visible', display: 'block' }});
            TweenMax.set($('#terms'), { css: { visibility: 'visible', display: 'block' }});            
            TweenMax.set($('#drop'), {className:'-=active'});
        }        

        // terms close
        $('#close-me').click(function(){  
            TweenMax.set($('#drop'), {className:'active'});            
            cookieData[COOKIE_NAME] = COOKIE_KEY;        
            createCookie(cookieData, COOKIE_DAYS);
            activateDropZone();
            var tl = new TimelineMax({});
            tl.to($('#terms').parent(), 1, { css: { opacity: 0}, ease: Power0.EaseNone})
            .set($('#terms-drop'), { css: { visibility: 'hidden', display: 'none' }});
        });

    //slideshow random
    var randomNumber = Math.floor(Math.random()*($("#slideshow .slide").length));
    $("#slideshow .slide").eq(randomNumber).addClass("active");
    // Background cover zoom on
    if(window.innerWidth>600){
        updateIndicators();
    }

Anything else you believe to be useful (Optional)

pocztapolska24.pl##+js(nanop-click-elements-onready.js, #terms-drop #terms #close-me)

If no possible abort above script with standard scriplet filters.

Environment (Required)

Your filter lists (Required)

Stock + Nano filters – Annoyance

Your custom filters (Required if you have any)

N/A

Your other extensions (Required if you have any)

N/A

jspenguin2017 commented 4 years ago

Hum... It does mention other policies and terms beside cookies...

jspenguin2017 commented 4 years ago

Rule:

# https://github.com/NanoAdblocker/NanoFilters/issues/496
pocztapolska24.pl##+js(nanop-click-elements-onready.js, #terms-drop > #terms > #close-me)
hawkeye116477 commented 4 years ago

Not worth it, cuz it's fake site. Scammers impersonate Polish Post.

https://www.legalniewsieci.pl/zagrozenia-w-sieci/oszusci-podszywaja-sie-poczte-polska

krystian3w commented 4 years ago

No exist in article, only dead links to rules / cookie policy / privacy terms is suspicion.

In addition, maybe after hours poczta-polska developers build the project of site with private hosting account on home.pl (instead official poczta-polska hosting account on nazwa.pl), nobody punishes there to upload private pdf/data.

hawkeye116477 commented 4 years ago

@krystian3w

No exist in article

It exists, link is in example SMS message...

krystian3w commented 4 years ago

Omitted on ordered list <ol>.