{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom-shell/issues/1102","labels_url":"https://api.github.com/repos/atom/atom-shell/issues/1102/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom-shell/issues/1102/comments","events_url":"https://api.github.com/repos/atom/atom-shell/issues/1102/events","html_url":"https://github.com/atom/atom-shell/issues/1102","id":56797829,"number":1102,"title":"WebView on Windows works not like on OS X.","user":{"login":"Trixt0r","id":1076870,"avatar_url":"https://avatars.githubusercontent.com/u/1076870?v=3","gravatar_id":"","url":"https://api.github.com/users/Trixt0r","html_url":"https://github.com/Trixt0r","followers_url":"https://api.github.com/users/Trixt0r/followers","following_url":"https://api.github.com/users/Trixt0r/following{/other_user}","gists_url":"https://api.github.com/users/Trixt0r/gists{/gist_id}","starred_url":"https://api.github.com/users/Trixt0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trixt0r/subscriptions","organizations_url":"https://api.github.com/users/Trixt0r/orgs","repos_url":"https://api.github.com/users/Trixt0r/repos","events_url":"https://api.github.com/users/Trixt0r/events{/privacy}","received_events_url":"https://api.github.com/users/Trixt0r/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-06T10:54:13Z","updated_at":"2015-02-06T10:56:06Z","closed_at":null,"body":"If I add a WebView in my app and define a preload script, every url change within the WebView invokes the preload script on OS X.\r\nBut on Windows (8.1) the preload script is only executed once and not on every url change.\r\n\r\nFrom my point of view, the behavior on OS X is correct. Is this a bug or can the OS X behavior be also achieved on Windows? A quick and dirty solution would be to reload the hosting page every time the url changes, I guess.\r\n\r\nI really need a solution for this problem, since I am setting up an API in the preload script for the page in the WebView. And this API has to be always present for the WebView page.\r\n\r\n-- Trixt0r"},"comment":{"url":"https://api.github.com/repos/atom/atom-shell/issues/comments/73219815","html_url":"https://github.com/atom/atom-shell/issues/1102#issuecomment-73219815","issue_url":"https://api.github.com/repos/atom/atom-shell/issues/1102","id":73219815,"user":{"login":"bwin","id":1673361,"avatar_url":"https://avatars.githubusercontent.com/u/1673361?v=3","gravatar_id":"","url":"https://api.github.com/users/bwin","html_url":"https://github.com/bwin","followers_url":"https://api.github.com/users/bwin/followers","following_url":"https://api.github.com/users/bwin/following{/other_user}","gists_url":"https://api.github.com/users/bwin/gists{/gist_id}","starred_url":"https://api.github.com/users/bwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwin/subscriptions","organizations_url":"https://api.github.com/users/bwin/orgs","repos_url":"https://api.github.com/users/bwin/repos","events_url":"https://api.github.com/users/bwin/events{/privacy}","received_events_url":"https://api.github.com/users/bwin/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T10:56:06Z","updated_at":"2015-02-06T10:56:06Z","body":"What version of Atom-Shell are you using?\n\nHeinrich Reich <notifications@github.com> schrieb am Fr., 6. Feb. 2015\n11:54:\n\n> If I add a WebView in my app and define a preload script, every url change\n> within the WebView invokes the preload script on OS X.\n> But on Windows (8.1) the preload script is only executed once and not on\n> every url change.\n>\n> From my point of view, the behavior on OS X is correct. Is this a bug or\n> can the OS X behavior be also achieved on Windows? A quick and dirty\n> solution would be to reload the hosting page every time the url changes, I\n> guess.\n>\n> I really need a solution for this problem, since I am setting up an API in\n> the preload script for the page in the WebView. And this API has to be\n> always present for the WebView page.\n>\n> -- Trixt0r\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/atom/atom-shell/issues/1102>.\n>\n"}}