Skip to content

NSFW! [Popup] javher.com #3031

Closed
Closed

Description

@jspenguin2017

URL(s) where the issue occurs

https://javher.com/video/watch-cesd00611-1532188800000

Describe the issue

Popups, and the video player has ads overlay.

Screenshot(s)

Let me know if you need screenshots.

Versions

  • Browser/version: Chrome 70
  • uBlock Origin version: 1.16.14

Settings

English default.

Activity

  1. okiehsch commented on Jul 26, 2018

    @okiehsch
    Contributor
    avgle.com##script:inject(abort-on-property-read.js, ExoLoader.serve)
    avgle.com##script:inject(nowebrtc.js)
    avgle.com##script:inject(set-constant.js, showBlockIf, noopFunc)
    ||sub.avgle.com/fd/*$script,first-party
    

    is the best I can come up with without breaking the video player.

  2. bobsage123 commented on Jul 27, 2018

    @bobsage123

    Hmm, tested this on chrome and firefox and clicking the play button nothing happens.

  3. ZaphodBeebblebrox commented on Jul 27, 2018

    @ZaphodBeebblebrox
    Contributor

    You need to click on the tiny blue and white x first.

  4. jspenguin2017 commented on Jul 27, 2018

    @jspenguin2017
    ContributorAuthor

    This is the offending function, unfortunately I see no way around it without patching the code.

      var closeAd = function (e) {
        try {
          if (!e.screenX || e.originalEvent.isTrusted === false) {
            return;
          }
        } catch (e) {
        }
        if (isEmbedded && !window.open('javascript:close()', '_blank')) {
          window.location = redirectURL + '?from_embed';
          return;
        }
        $('#player_3x2_container').hide();
        $('#aoverlay').hide();
        localStorage[key] = 1;
        /*
        if (!played) {
          player.play();
          $('#close-btn-icon').removeClass('glyphicon-play');
          $('#close-btn-icon').addClass('glyphicon-remove');
          $('#close-btn-text').text(' 閉じる・Close');
          played = true;
        }*/
      };
  5. jspenguin2017 commented on Jul 27, 2018

    @jspenguin2017
    ContributorAuthor

    Yea, it can be patched in Nano Defender, but it'll most likely turn into a cat and mouse game again.
    I honestly don't want to bother.

  6. ZaphodBeebblebrox commented on Jul 27, 2018

    @ZaphodBeebblebrox
    Contributor

    When it comes down to it, that x isn't too annoying. Its not worth fighting over. We could add something like avgle.com###player_3x2_close:style(font-size: 500% !important;) to make it more obvious if its too hard to spot right now.

  7. jspenguin2017 commented on Jul 27, 2018

    @jspenguin2017
    ContributorAuthor

    It's up to you. I don't think the current solution will last long TBH. If I recall correctly, we had a lot of problems with avgle.com in the past.

  8. okiehsch commented on Jul 27, 2018

    @okiehsch
    Contributor

    Yes, the popup can't be blocked in uBO-flters, even adding
    avgle.com##script:inject(window.open-defuser.js)
    will break the player if you click the x.

    @ZaphodBeebblebrox that's a good idea, though 500% seems a bit much
    avgle.com###player_3x2_close:style(font-size: 250% !important;) should make it obvious enough,

  9. added a commit that references this issue on Jul 28, 2018
  10. added a commit that references this issue on Nov 18, 2021
  11. added a commit that references this issue on Nov 18, 2021
  12. added a commit that references this issue on Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions