{"action":"created","issue":{"url":"https://api.github.com/repos/gorhill/uBlock/issues/607","labels_url":"https://api.github.com/repos/gorhill/uBlock/issues/607/labels{/name}","comments_url":"https://api.github.com/repos/gorhill/uBlock/issues/607/comments","events_url":"https://api.github.com/repos/gorhill/uBlock/issues/607/events","html_url":"https://github.com/gorhill/uBlock/issues/607","id":101465579,"number":607,"title":"Single click on pages is causing ads to open after installing Ublock or Ublock origin from Chrome webstore","user":{"login":"adityamenon-iom","id":13763776,"avatar_url":"https://avatars.githubusercontent.com/u/13763776?v=3","gravatar_id":"","url":"https://api.github.com/users/adityamenon-iom","html_url":"https://github.com/adityamenon-iom","followers_url":"https://api.github.com/users/adityamenon-iom/followers","following_url":"https://api.github.com/users/adityamenon-iom/following{/other_user}","gists_url":"https://api.github.com/users/adityamenon-iom/gists{/gist_id}","starred_url":"https://api.github.com/users/adityamenon-iom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adityamenon-iom/subscriptions","organizations_url":"https://api.github.com/users/adityamenon-iom/orgs","repos_url":"https://api.github.com/users/adityamenon-iom/repos","events_url":"https://api.github.com/users/adityamenon-iom/events{/privacy}","received_events_url":"https://api.github.com/users/adityamenon-iom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gorhill/uBlock/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-17T17:02:38Z","updated_at":"2015-08-17T17:18:31Z","closed_at":"2015-08-17T17:12:33Z","body":"I am not sure if this is an issue with my Linux Mint system or the extension, but I have noticed this behavior on both Chromium and Firefox extensions.\r\n\r\nI had put a couple breakpoints to catch mouse events to find the scripts, and the script I have found is as follows:\r\n\r\n### VM1302.js\r\n```\r\nvar ll = false;\r\n        function doOpen(l1)\r\n        {\r\n                if ( ll == true )\r\n                {\r\n                        return true;\r\n                }\r\n                win = window.open(l1, 'ljPu', 'toolbar,status,resizable,scrollbars,menubar,location,height=760,width=800');\r\n                if ( win )\r\n                {\r\n                        win.blur();\r\n                        ll = true;\r\n                }\r\n                return win;\r\n        }\r\n        function setCookie(lI, value, time)\r\n        {\r\n            var expires = new Date();\r\n            expires.setTime( expires.getTime() + time );\r\n            document.cookie = lI + '=' + value + '; expires=' + expires.toGMTString();\r\n        }\r\n        function getCookie(lI) {\r\n            var cookies = document.cookie.toString().split('; ');\r\n            var cookie, c_name, c_value;\r\n            for (var l1l=0; l1l<cookies.length; l1l++) {\r\n                cookie  = cookies[l1l].split('=');\r\n                c_name  = cookie[0];\r\n                c_value = cookie[1];\r\n                if ( c_name == lI ) {\r\n                    return c_value;\r\n                }\r\n            }\r\n            return null;\r\n        }\r\n        function initPu()\r\n        {\tvar l11 = '* { target-new: tab ! important }',\r\n\t\t\thead = document.head || document.getElementsByTagName('head')[0],\r\n\t\t\tstyle = document.createElement('style');\r\n\t\t\tstyle.type = 'text/css';\r\nif (style.styleSheet){\r\n  style.styleSheet.cssText = l11;\r\n} else {\r\n  style.appendChild(document.createTextNode(l11));\r\n}\r\n\r\n                if ( document.attachEvent )\r\n                {\r\n                        document.attachEvent( 'onclick', checkTarget );\r\n                }\r\n                else if ( document.addEventListener )\r\n                {\r\n                        document.addEventListener( 'click', checkTarget, false );\r\n                }\r\n        }\r\n        function checkTarget(l1I)\r\n        {\r\n\t\t\tvar lIl = navigator.language || navigator.userLanguage; \r\n\t\t\t\tvar l1I = l1I || window.event;\r\n\t\t\t\tif (lIl != 'tr') {\r\n                var win = doOpen('http://ad-type.google.com/rot.aspx?partner=910345&f=popup-u');\r\n\t\t\t\t}\r\n\t\t\t\t\r\n        }\r\n\t\t\r\n\t\t\r\ninitPu(); \r\n```"},"comment":{"url":"https://api.github.com/repos/gorhill/uBlock/issues/comments/131894178","html_url":"https://github.com/gorhill/uBlock/issues/607#issuecomment-131894178","issue_url":"https://api.github.com/repos/gorhill/uBlock/issues/607","id":131894178,"user":{"login":"adityamenon-iom","id":13763776,"avatar_url":"https://avatars.githubusercontent.com/u/13763776?v=3","gravatar_id":"","url":"https://api.github.com/users/adityamenon-iom","html_url":"https://github.com/adityamenon-iom","followers_url":"https://api.github.com/users/adityamenon-iom/followers","following_url":"https://api.github.com/users/adityamenon-iom/following{/other_user}","gists_url":"https://api.github.com/users/adityamenon-iom/gists{/gist_id}","starred_url":"https://api.github.com/users/adityamenon-iom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adityamenon-iom/subscriptions","organizations_url":"https://api.github.com/users/adityamenon-iom/orgs","repos_url":"https://api.github.com/users/adityamenon-iom/repos","events_url":"https://api.github.com/users/adityamenon-iom/events{/privacy}","received_events_url":"https://api.github.com/users/adityamenon-iom/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T17:18:31Z","updated_at":"2015-08-17T17:18:31Z","body":"Finishing up my comment for posterity:\r\n\r\nOS information:\r\n```\r\n$ inxi -S\r\nSystem:    Host: redacted Kernel: 3.16.0-4-amd64 x86_64 (64 bit) \r\n           Desktop: MATE 1.10.0  Distro: LinuxMint 2 betsy \r\n```\r\n\r\nChromium version: `Version 44.0.2403.89 Built on 8.1`\r\n\r\nDownloaded uBlock Origin from Google Chrome App Store. Version: 1.0.0.1\r\n\r\nHave no other extension on the browser, very minimal programs on the OS itself. Not sure where it came from."}}