{"action":"created","issue":{"url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/828","repository_url":"https://api.github.com/repos/eclipsesource/tabris-js","labels_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/828/labels{/name}","comments_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/828/comments","events_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/828/events","html_url":"https://github.com/eclipsesource/tabris-js/issues/828","id":152734706,"number":828,"title":"The \"navigate\" event on WebView is not fired on anchor navigation","user":{"login":"mpost","id":73655,"avatar_url":"https://avatars.githubusercontent.com/u/73655?v=3","gravatar_id":"","url":"https://api.github.com/users/mpost","html_url":"https://github.com/mpost","followers_url":"https://api.github.com/users/mpost/followers","following_url":"https://api.github.com/users/mpost/following{/other_user}","gists_url":"https://api.github.com/users/mpost/gists{/gist_id}","starred_url":"https://api.github.com/users/mpost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpost/subscriptions","organizations_url":"https://api.github.com/users/mpost/orgs","repos_url":"https://api.github.com/users/mpost/repos","events_url":"https://api.github.com/users/mpost/events{/privacy}","received_events_url":"https://api.github.com/users/mpost/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipsesource/tabris-js/labels/Android","name":"Android","color":"009800"},{"url":"https://api.github.com/repos/eclipsesource/tabris-js/labels/bug","name":"bug","color":"333333"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-03T09:36:13Z","updated_at":"2016-05-10T21:25:28Z","closed_at":null,"body":"Currently it is not possible to intercept a navigation via an anchor on the same page of a WebView. The navigate callback is fired but the value of `event.preventDefault` is ignored."},"comment":{"url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/comments/218296536","html_url":"https://github.com/eclipsesource/tabris-js/issues/828#issuecomment-218296536","issue_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/828","id":218296536,"user":{"login":"irbull","id":196883,"avatar_url":"https://avatars.githubusercontent.com/u/196883?v=3","gravatar_id":"","url":"https://api.github.com/users/irbull","html_url":"https://github.com/irbull","followers_url":"https://api.github.com/users/irbull/followers","following_url":"https://api.github.com/users/irbull/following{/other_user}","gists_url":"https://api.github.com/users/irbull/gists{/gist_id}","starred_url":"https://api.github.com/users/irbull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irbull/subscriptions","organizations_url":"https://api.github.com/users/irbull/orgs","repos_url":"https://api.github.com/users/irbull/repos","events_url":"https://api.github.com/users/irbull/events{/privacy}","received_events_url":"https://api.github.com/users/irbull/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T21:25:28Z","updated_at":"2016-05-10T21:25:28Z","body":"Furthermore, on Android the navigation to the new anchor has already\nhappened by the time the event is fired. If this was desired, it would be\npretty hard to implement.\n\nOn Thu, 5 May 2016 at 01:17 Ralf Sternberg <notifications@github.com> wrote:\n\n> That's expected. preventDefault can only prevent loading a new page. An\n> anchor navigation is triggered by JavaScript using the browser history API\n> <https://developer.mozilla.org/en-US/docs/Web/API/Window/history>. This\n> cannot be prevented.\n>\n> The behavior is the same on iOS: the navigate event is fired on anchor\n> navigation, and event.preventDefault is ignored.\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/eclipsesource/tabris-js/issues/828#issuecomment-217100778>\n>\n"}}