{"action":"created","issue":{"url":"https://api.github.com/repos/scrapinghub/splash/issues/437","repository_url":"https://api.github.com/repos/scrapinghub/splash","labels_url":"https://api.github.com/repos/scrapinghub/splash/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/scrapinghub/splash/issues/437/comments","events_url":"https://api.github.com/repos/scrapinghub/splash/issues/437/events","html_url":"https://github.com/scrapinghub/splash/issues/437","id":145831938,"number":437,"title":"splash:mouse_click on link with attribute: \"target\"=\"_blank\"","user":{"login":"genius001","id":5621825,"avatar_url":"https://avatars.githubusercontent.com/u/5621825?v=3","gravatar_id":"","url":"https://api.github.com/users/genius001","html_url":"https://github.com/genius001","followers_url":"https://api.github.com/users/genius001/followers","following_url":"https://api.github.com/users/genius001/following{/other_user}","gists_url":"https://api.github.com/users/genius001/gists{/gist_id}","starred_url":"https://api.github.com/users/genius001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genius001/subscriptions","organizations_url":"https://api.github.com/users/genius001/orgs","repos_url":"https://api.github.com/users/genius001/repos","events_url":"https://api.github.com/users/genius001/events{/privacy}","received_events_url":"https://api.github.com/users/genius001/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-04T23:24:09Z","updated_at":"2016-04-05T13:29:21Z","closed_at":null,"body":"splash:mouse_click not working if a tag <a> with \"target\"=\"_blank\",\r\nEven if use splash:runjs(\"element.removeAttribute(\"target\")\") before click it.\r\nCould anyone give me some idea or workaround?\r\nThank you."},"comment":{"url":"https://api.github.com/repos/scrapinghub/splash/issues/comments/205805141","html_url":"https://github.com/scrapinghub/splash/issues/437#issuecomment-205805141","issue_url":"https://api.github.com/repos/scrapinghub/splash/issues/437","id":205805141,"user":{"login":"genius001","id":5621825,"avatar_url":"https://avatars.githubusercontent.com/u/5621825?v=3","gravatar_id":"","url":"https://api.github.com/users/genius001","html_url":"https://github.com/genius001","followers_url":"https://api.github.com/users/genius001/followers","following_url":"https://api.github.com/users/genius001/following{/other_user}","gists_url":"https://api.github.com/users/genius001/gists{/gist_id}","starred_url":"https://api.github.com/users/genius001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genius001/subscriptions","organizations_url":"https://api.github.com/users/genius001/orgs","repos_url":"https://api.github.com/users/genius001/repos","events_url":"https://api.github.com/users/genius001/events{/privacy}","received_events_url":"https://api.github.com/users/genius001/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T13:29:21Z","updated_at":"2016-04-05T13:29:21Z","body":"Hey @kmike \r\n\r\nI solved some case, not all.\r\n\r\nOn file: qwebpage.py, I add some:\r\n\r\n```\r\n    def acceptNavigationRequest(self, webFrame, networkRequest, navigationType):\r\n        if self.navigation_locked:\r\n            return False\r\n\r\n        if(navigationType == QWebPage.NavigationTypeLinkClicked):\r\n            if(webFrame == self.mainFrame()):\r\n                self.mainFrame().load(networkRequest.url())\r\n            else:\r\n                # TODO desire to create new frame or window load future url?\r\n                # currently using mainFrame temporary\r\n                self.mainFrame().load(networkRequest.url())\r\n\r\n            return False\r\n```\r\n"}}