{"action":"created","issue":{"url":"https://api.github.com/repos/HelloZeroNet/ZeroNet/issues/140","labels_url":"https://api.github.com/repos/HelloZeroNet/ZeroNet/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/HelloZeroNet/ZeroNet/issues/140/comments","events_url":"https://api.github.com/repos/HelloZeroNet/ZeroNet/issues/140/events","html_url":"https://github.com/HelloZeroNet/ZeroNet/issues/140","id":102956434,"number":140,"title":"Problems using web-worker (due to iframe)","user":{"login":"canterburycomputers","id":2417524,"avatar_url":"https://avatars.githubusercontent.com/u/2417524?v=3","gravatar_id":"","url":"https://api.github.com/users/canterburycomputers","html_url":"https://github.com/canterburycomputers","followers_url":"https://api.github.com/users/canterburycomputers/followers","following_url":"https://api.github.com/users/canterburycomputers/following{/other_user}","gists_url":"https://api.github.com/users/canterburycomputers/gists{/gist_id}","starred_url":"https://api.github.com/users/canterburycomputers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canterburycomputers/subscriptions","organizations_url":"https://api.github.com/users/canterburycomputers/orgs","repos_url":"https://api.github.com/users/canterburycomputers/repos","events_url":"https://api.github.com/users/canterburycomputers/events{/privacy}","received_events_url":"https://api.github.com/users/canterburycomputers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-25T06:03:24Z","updated_at":"2015-08-25T12:48:38Z","closed_at":null,"body":"I'm hoping someone can point me in the right direction (or this can be a bad feature request).\r\n\r\nBasically i want to use a web worker (eg. http://bgrins.github.io/videoconverter.js/demo/) but in order to do this in an iframe (zeronet wrapper), allow-same-origin needs to be in the \"sandbox\" attribute.\r\n\r\nFor testing I have  modified src/Ui/template/wrapper.html to add this but would like to know if there is a better way to achieve this. \r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/HelloZeroNet/ZeroNet/issues/comments/134573911","html_url":"https://github.com/HelloZeroNet/ZeroNet/issues/140#issuecomment-134573911","issue_url":"https://api.github.com/repos/HelloZeroNet/ZeroNet/issues/140","id":134573911,"user":{"login":"HelloZeroNet","id":10350359,"avatar_url":"https://avatars.githubusercontent.com/u/10350359?v=3","gravatar_id":"","url":"https://api.github.com/users/HelloZeroNet","html_url":"https://github.com/HelloZeroNet","followers_url":"https://api.github.com/users/HelloZeroNet/followers","following_url":"https://api.github.com/users/HelloZeroNet/following{/other_user}","gists_url":"https://api.github.com/users/HelloZeroNet/gists{/gist_id}","starred_url":"https://api.github.com/users/HelloZeroNet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HelloZeroNet/subscriptions","organizations_url":"https://api.github.com/users/HelloZeroNet/orgs","repos_url":"https://api.github.com/users/HelloZeroNet/repos","events_url":"https://api.github.com/users/HelloZeroNet/events{/privacy}","received_events_url":"https://api.github.com/users/HelloZeroNet/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T12:48:38Z","updated_at":"2015-08-25T12:48:38Z","body":"Since every website on zeronet using the same origin (127.0.0.1) it would be unsecure to add \"allow-same-origin\" to sandbox parameters.\r\n\r\nI have just tried it and successfully ran webworkers by inline them using Blob URLs: http://www.html5rocks.com/en/tutorials/workers/basics/#toc-inlineworkers"}}