µBlock, a lean and fast blocker

Discussion in 'other software & services' started by gorhill, Jun 23, 2014.

  1. rethink

    rethink Registered Member

    Joined:
    Jan 13, 2015
    Posts:
    75
  2. Jarmo P

    Jarmo P Registered Member

    Joined:
    Aug 27, 2005
    Posts:
    1,207
    Don't try do it with uBlock, block popups with your browser.

    Chrome: Content settings -> Do not allow any site to show popups (recommended) ... tick also Block third-party cookies and site data, since uBlock won't block cookies.
    Firefox: Content -> Block pop-up windows ... tick also Privacy->History -> Accept cookies from sites -> Accept third-party cookies, Never.

    EDIT:
    I tested your video only with Chrome and had also the Content settings -> Let me choose when to run plugin content ticked. That is smart to do also when running uBlock Origin.

    UblockO has also this https://github.com/gorhill/uBlock/wiki/Quick-guide:-popup-user-interface , search 'No popups', that I did not check if it fails on that site, because of the browser setting I have.
     
    Last edited: Oct 7, 2015
  3. harsha_mic

    harsha_mic Registered Member

    Joined:
    Mar 11, 2009
    Posts:
    815
    Location:
    India
    I am not getting any pop-ups on this site (thevideo.me).
    Maybe as @Jarmo P pointed, it is my browser settings coming into play.

    However, if you want to be sure to block all kind of popups from this site, try adding below rule, and let us know, if it works for u..
    Code:
    no-popups: thevideo.me true
     
  4. harsha_mic

    harsha_mic Registered Member

    Joined:
    Mar 11, 2009
    Posts:
    815
    Location:
    India
    if you like to try, switch to latest dev version 1.2.0rc2...add below rule in "my filters" tab..
    Code:
    tweaktown.com##script:contains(adBlockNotDetected)
    this blocks specific inline script..
     
  5. rethink

    rethink Registered Member

    Joined:
    Jan 13, 2015
    Posts:
    75
    So I am using Firefox with the settings Jarmo P suggested and I still see the popup. Also, the suggestion from harsha_mic did not work. Any ideas?
     
  6. harsha_mic

    harsha_mic Registered Member

    Joined:
    Mar 11, 2009
    Posts:
    815
    Location:
    India
    browser - ?
    uBlock Version - ?
    uBlock Filter Lists - ?
    And post a screenshot of the the logger...

    Also, i am not at home so, cannot open that site again to debug completely till i go home..
     
  7. Jarmo P

    Jarmo P Registered Member

    Joined:
    Aug 27, 2005
    Posts:
    1,207
    I checked your video also on Firefox, something about a girl and some officer and then another one comes. No popups with the settings I wrote previously, stopping and then starting the video.

    What I did with uBlock, I nooped both scripts and frames on the site: http://couchtuner.city/1/ncis-los-angeles-s7-e3-driving-miss-diaz/ I did not bother to go into special uBlockO 3rd party local noop rules. That should mean running uBlockO with only static filtering and have the dynamic filtering disabled. The default installation settings of the uBlock.

    I ran it in Sandboxie default box, which is the only thing to allow to strange sites media sites like that. But DefaultBox it was so SBIE was not restricting any. First time I tried to run it the flash or whatever it was asked to reload as it crashed. Might be a sign that my Firefox profile is not so good, but anyways after reloading the page the video worked fine with no popups starting and stopping the video. No popups at all from the site.

    Firefox is the latest and also the Flash plugin, as far as I know. So If you get popups, it might be a sign that your browser profile is maybe corrupted?

    EDIT:
    I had a setting in Firefox -> Addons/Plugins -> Flash - Ask to activate. If that might help as all the stuff needed first downloads and then I chose to run the plugin.
     
    Last edited: Oct 8, 2015
  8. Adric

    Adric Registered Member

    Joined:
    Feb 1, 2006
    Posts:
    1,762
    I'm having a problem on one of my Win7 systems where I wanted to install ublock. When I check 'I am an advanced user' in settings, it has no effect and does not show dynamic filtering when selecting the uBlock Origin icon. I'm using Firefox 41.0.1. Works fine on my other systems. Any ideas?
     
  9. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    You have to click the + sign to the left of "requests blocked".
     
  10. Adric

    Adric Registered Member

    Joined:
    Feb 1, 2006
    Posts:
    1,762
    Oh boy, I don't recall having had to do this before. I never took notice of that + sign until you mentioned it.:rolleyes: Previously, IIRC all I did was to enable this option in settings and it automatically caused the pop-up to expand with the dynamic filtering. I just tried disabling and enabling via settings and that toggles the display on my other system. All I see is a - when expanded and blank when collapsed (no + sign with v1.1.1). I think 1.2.1 may have changed that behavior a bit. Thanks for the heads-up.
     
    Last edited: Oct 10, 2015
  11. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    Hi rethink. I use Firefox, for testing I disabled Adblock plus, unticked Block pop up windows in Firefox Options and allowed the 4 scripts that are needed to view the video, I don't get a pop up. Also for testing, even after allowing scripts to run from thevideo.me, I still don't get the pop up. I am using NoScript.

    Thanks for posting that link. I ll be checking this out during the weekend.:)
    http://couchtuner.city/1/narcos-s1-e1-descenso/

    Bo
     
  12. NSG001

    NSG001 Registered Member

    Joined:
    Jul 14, 2006
    Posts:
    682
    Location:
    Wembley, London
    @bo elam
    Sorry OT folks,
    but this is great series :cool:
     
  13. harsha_mic

    harsha_mic Registered Member

    Joined:
    Mar 11, 2009
    Posts:
    815
    Location:
    India
    If you have "Fanboy+Easylist-Merged Ultimate List" selected, then below two requests are blocked -
    https://thevideo.me/js/ads.js per filter /js/ads.
    https://thevideo.me/js/trackit.js?0.002 per filter /trackit.js

    And you would have to allow both the requests, to properly watch the video..

    However, with the recent update of uBlock to 1.2.0, you dont have to enable above requests. Instead, i added below rule, which foils the specific inline script..
    Code:
    thevideo.me##script:contains(adsShowPopup)
     
  14. Overkill

    Overkill Registered Member

    Joined:
    Mar 16, 2012
    Posts:
    2,343
    Location:
    USA
    I have all 3rd party blocked globally, how would I whitelist a site from blocking 3rd party stuff only? Facebook is broken and I want to view the 3rd party content.
     
  15. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    Hi Harsha. I checked the site in two computers with different systems, in neither one I have to allow thevideome to watch videos. And about the pop up, even if I allow thevideome, I still dont get one. But remember, I am using NoScript.

    Bo
     
  16. harsha_mic

    harsha_mic Registered Member

    Joined:
    Mar 11, 2009
    Posts:
    815
    Location:
    India
    Ok Bo, Can you check the logger and see if those requests are blocked or allowed?

    And i am not talking about pop-up here, just prior to v.1.2.0, i would have to allow those two requests, but now, i don't need it with my custom filter:)..
     
  17. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    4,065
    Location:
    Canada
    You can try to "noop" the content you want to allow in the far right column. This will disable dynamic filtering while retaining static filtering.
     

    Attached Files:

  18. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    Harsha, remember, I am using NoScript. Allowing or not allowing thevideome doesn't make a difference, either way videos plays fine,

    Bo
     
  19. wolfrun

    wolfrun Registered Member

    Joined:
    Jul 26, 2009
    Posts:
    702
    Location:
    North America

    Attached Files:

  20. harsha_mic

    harsha_mic Registered Member

    Joined:
    Mar 11, 2009
    Posts:
    815
    Location:
    India
    I think i may not have explained it clear. Also, tested with NoScript :)

    Try these steps -

    1. Install any ad-blocker, (have Fanboy+Easylist-Merged Ultimate List selected)
    2. Open "http://thevideo.me/cqp1ecu49o16"
    3. You will see below two requests blocked (see the screenshot)
    4. And you cannot play the video if you have above two requests blocked, unless you allow it. It does not matter if NoScript is installed or not.

    Only way to play the video, is to have the above requests unblocked, or have inline script foiled (new feature in uBlock v1.2.0)
     

    Attached Files:

    Last edited: Oct 10, 2015
  21. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    Yes, for that site I have to allow thevideome to play videos. I have been talking about couchtuner, one of the 2 sites linked by rethink and for which he mentioned the popup.

    Bo
     
  22. rethink

    rethink Registered Member

    Joined:
    Jan 13, 2015
    Posts:
    75
    No, the player cause the popup for me. I do not get pop-us in couchtuner
     
  23. Overkill

    Overkill Registered Member

    Joined:
    Mar 16, 2012
    Posts:
    2,343
    Location:
    USA
    The grey color means noop in your screen? I wish there was tooltips when hovering the cells
     
  24. Jarmo P

    Jarmo P Registered Member

    Joined:
    Aug 27, 2005
    Posts:
    1,207
    grey = noop
    green = allow
    red = block

    Noop means disable dynamic filtering, but have the static filtering based on 3rd-party filters on.
    Allow means disabling also the static filtering.

    Local first party restricted rules are made on the right column, recommended.
    If you want to whitelist a site/domain everywhere as 3rd-party, like maybe youtube.com, then make global rules on the left column. "Noop" youtube.com and ytimg.com in that case.

    Thats it, uBO is in medium mode a dead simple to understand scripts and frames blocker.
     
    Last edited: Oct 11, 2015
  25. Overkill

    Overkill Registered Member

    Joined:
    Mar 16, 2012
    Posts:
    2,343
    Location:
    USA
    Thanks for the info
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.