{"action":"closed","issue":{"url":"https://api.github.com/repos/gorhill/uBlock/issues/2167","repository_url":"https://api.github.com/repos/gorhill/uBlock","labels_url":"https://api.github.com/repos/gorhill/uBlock/issues/2167/labels{/name}","comments_url":"https://api.github.com/repos/gorhill/uBlock/issues/2167/comments","events_url":"https://api.github.com/repos/gorhill/uBlock/issues/2167/events","html_url":"https://github.com/gorhill/uBlock/issues/2167","id":190611335,"number":2167,"title":"Cannot block Pop-Up window on Xvideos.com","user":{"login":"spooji","id":23624068,"avatar_url":"https://avatars.githubusercontent.com/u/23624068?v=3","gravatar_id":"","url":"https://api.github.com/users/spooji","html_url":"https://github.com/spooji","followers_url":"https://api.github.com/users/spooji/followers","following_url":"https://api.github.com/users/spooji/following{/other_user}","gists_url":"https://api.github.com/users/spooji/gists{/gist_id}","starred_url":"https://api.github.com/users/spooji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spooji/subscriptions","organizations_url":"https://api.github.com/users/spooji/orgs","repos_url":"https://api.github.com/users/spooji/repos","events_url":"https://api.github.com/users/spooji/events{/privacy}","received_events_url":"https://api.github.com/users/spooji/received_events","type":"User","site_admin":false},"labels":[{"id":206106066,"url":"https://api.github.com/repos/gorhill/uBlock/labels/filter%20list%20issue","name":"filter list issue","color":"0052cc","default":false},{"id":194717568,"url":"https://api.github.com/repos/gorhill/uBlock/labels/invalid","name":"invalid","color":"e6e6e6","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-21T03:39:59Z","updated_at":"2016-11-21T13:19:05Z","closed_at":"2016-11-21T13:19:05Z","body":"Read first: <https://github.com/gorhill/uBlock/blob/master/CONTRIBUTING.md>\r\n\r\n### Describe the issue\r\n\r\nAds are being blocked on xvideos.com successfully, however the pop-up window launches on every click, then closes -- very irritating.  I attempted to add a \"script:contains\" rule but haven't succeeded.  I'm probably not very clever about this because the filter documentation is limited and doesn't address whether it even filters \"included\" js files.\r\n\r\nWhenever you are viewing a specific video, the page loads several 1st-party scripts.  The following link contains the culprit scripting, to the best of my knowledge, and it linked from the main HTML on any page which loads the html5 video player (this issue may not apply to the Flash Player version).\r\n\r\nSource link example (NSFW): http://www.xvideos.com/video6177872/ecr-0032\r\nLikely culprit script source: http://static-hw.xvideos.com/v3/js/html5player.min.js?v=5\r\n\r\nThis contains a window object named window.openpop=function() which I believe is the target code.  I've used FireBug and deleted this DOM property and it seems to resolve the pop-up issue.  \r\n\r\nHow am I to attack this with a uBlock rule?\r\n\r\nPlatform info:  Firefox Version 50.0 32-bit, Windows Pro 7 64-bit.\r\n\r\n### One or more specific URLs where the issue occurs\r\n\r\n[URL(s) for issue on a specific site are **mandatory**]\r\n\r\n### Screenshot in which the issue can be seen\r\n\r\n[Screenshot(s) for visual issues are **mandatory**]\r\n\r\n### Steps for anyone to reproduce the issue\r\n\r\n1. Visit xvidoes.com.\r\n2. Click a specific video.\r\n3. Click anywhere on the page, on a play button, or on another video link.\r\n4. Pop-up appears, then vanishes if pop-up blocker is enabled.\r\n\r\n\r\n### Your settings\r\n\r\n- Firefox 50.0\r\n- uBlock Origin version: 1.9.16\r\n\r\n##### Your filter lists\r\n\r\nAttempted rule:\r\n\r\nxvideos.com##script:contains(window.openpop)\r\n\r\n##### Your custom filters (if any)\r\n"}}
{"actor":{"display_login":"gorhill"}}