{"action":"created","issue":{"url":"https://api.github.com/repos/gorhill/uBlock/issues/3336","repository_url":"https://api.github.com/repos/gorhill/uBlock","labels_url":"https://api.github.com/repos/gorhill/uBlock/issues/3336/labels{/name}","comments_url":"https://api.github.com/repos/gorhill/uBlock/issues/3336/comments","events_url":"https://api.github.com/repos/gorhill/uBlock/issues/3336/events","html_url":"https://github.com/gorhill/uBlock/issues/3336","id":280821589,"number":3336,"title":"Anyone can do a Custom Filter to block this? F*cking Annoying","user":{"login":"GEKTHEBOSS","id":4686786,"avatar_url":"https://avatars2.githubusercontent.com/u/4686786?v=4","gravatar_id":"","url":"https://api.github.com/users/GEKTHEBOSS","html_url":"https://github.com/GEKTHEBOSS","followers_url":"https://api.github.com/users/GEKTHEBOSS/followers","following_url":"https://api.github.com/users/GEKTHEBOSS/following{/other_user}","gists_url":"https://api.github.com/users/GEKTHEBOSS/gists{/gist_id}","starred_url":"https://api.github.com/users/GEKTHEBOSS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GEKTHEBOSS/subscriptions","organizations_url":"https://api.github.com/users/GEKTHEBOSS/orgs","repos_url":"https://api.github.com/users/GEKTHEBOSS/repos","events_url":"https://api.github.com/users/GEKTHEBOSS/events{/privacy}","received_events_url":"https://api.github.com/users/GEKTHEBOSS/received_events","type":"User","site_admin":false},"labels":[{"id":206106066,"url":"https://api.github.com/repos/gorhill/uBlock/labels/filter%20issue","name":"filter 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":"2017-12-10T16:16:58Z","updated_at":"2017-12-10T16:41:42Z","closed_at":"2017-12-10T16:17:20Z","author_association":"NONE","body":"```\r\n<!--Adblock Check-->\r\n<script type='text/javascript' src='/sponsorbanners/spcjs.js'></script>\r\n<script type=\"text/javascript\">// <![CDATA[\r\n// Function called if AdBlock is not detected\r\nfunction adBlockNotDetected() {\r\n    console.log(\"adViewed\");\r\n\tga('send', 'event', 'adBlock', 'blocked', 'false', 4);\r\n}\r\n// Function called if AdBlock is detected\r\nfunction adBlockDetected() {\r\n\tconsole.log(\"adBlocked\");\r\n\tga('send', 'event', 'adBlock', 'blocked', 'true', 4);\r\n\twindow.location.replace(\"/adblock.html\");\r\n}\r\n\r\n// Recommended audit because AdBlock lock the file 'blockadblock.js' \r\n// If the file is not called, the variable does not exist 'blockAdBlock'\r\n// This means that AdBlock is present\r\nif(typeof blockAdBlock === 'undefined') {\r\n    adBlockDetected();\r\n} else {\r\n    blockAdBlock.onDetected(adBlockDetected);\r\n    blockAdBlock.onNotDetected(adBlockNotDetected);\r\n    // and|or\r\n    blockAdBlock.on(true, adBlockDetected);\r\n    blockAdBlock.on(false, adBlockNotDetected);\r\n    // and|or\r\n    blockAdBlock.on(true, adBlockDetected).onNotDetected(adBlockNotDetected);\r\n}\r\n\r\n// Change the options\r\nblockAdBlock.setOption('checkOnLoad', false);\r\n// and|or\r\nblockAdBlock.setOption({\r\n    debug: false,\r\n    checkOnLoad: true,\r\n    resetOnEnd: true\r\n});\r\n\r\n// ]]></script>\r\n<!--End Adblock Check-->\r\n```"},"comment":{"url":"https://api.github.com/repos/gorhill/uBlock/issues/comments/350561023","html_url":"https://github.com/gorhill/uBlock/issues/3336#issuecomment-350561023","issue_url":"https://api.github.com/repos/gorhill/uBlock/issues/3336","id":350561023,"user":{"login":"mapx-","id":10303732,"avatar_url":"https://avatars3.githubusercontent.com/u/10303732?v=4","gravatar_id":"","url":"https://api.github.com/users/mapx-","html_url":"https://github.com/mapx-","followers_url":"https://api.github.com/users/mapx-/followers","following_url":"https://api.github.com/users/mapx-/following{/other_user}","gists_url":"https://api.github.com/users/mapx-/gists{/gist_id}","starred_url":"https://api.github.com/users/mapx-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapx-/subscriptions","organizations_url":"https://api.github.com/users/mapx-/orgs","repos_url":"https://api.github.com/users/mapx-/repos","events_url":"https://api.github.com/users/mapx-/events{/privacy}","received_events_url":"https://api.github.com/users/mapx-/received_events","type":"User","site_admin":false},"created_at":"2017-12-10T16:41:42Z","updated_at":"2017-12-10T16:41:42Z","author_association":"NONE","body":"report here:\r\nhttps://github.com/uBlockOrigin/uAssets/issues\r\n\r\nprovide page link, eventually screenshot"}}
{"actor":{"display_login":"mapx-"}}