{"action":"created","issue":{"url":"https://api.github.com/repos/mescon/Muximux/issues/16","labels_url":"https://api.github.com/repos/mescon/Muximux/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/mescon/Muximux/issues/16/comments","events_url":"https://api.github.com/repos/mescon/Muximux/issues/16/events","html_url":"https://github.com/mescon/Muximux/issues/16","id":127768862,"number":16,"title":"sandbox option for iFrame","user":{"login":"creoden","id":3977444,"avatar_url":"https://avatars.githubusercontent.com/u/3977444?v=3","gravatar_id":"","url":"https://api.github.com/users/creoden","html_url":"https://github.com/creoden","followers_url":"https://api.github.com/users/creoden/followers","following_url":"https://api.github.com/users/creoden/following{/other_user}","gists_url":"https://api.github.com/users/creoden/gists{/gist_id}","starred_url":"https://api.github.com/users/creoden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creoden/subscriptions","organizations_url":"https://api.github.com/users/creoden/orgs","repos_url":"https://api.github.com/users/creoden/repos","events_url":"https://api.github.com/users/creoden/events{/privacy}","received_events_url":"https://api.github.com/users/creoden/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mescon/Muximux/labels/feature%20request","name":"feature request","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-20T19:49:05Z","updated_at":"2016-01-20T22:40:10Z","closed_at":null,"body":"there are a few web interfaces that I use that either force the breakout of an iframe, or won't load in an iframe unless its in sandbox mode, I've moved over to muximux and was wondering if it was possible to get a sandbox variable added for the iframe."},"comment":{"url":"https://api.github.com/repos/mescon/Muximux/issues/comments/173385230","html_url":"https://github.com/mescon/Muximux/issues/16#issuecomment-173385230","issue_url":"https://api.github.com/repos/mescon/Muximux/issues/16","id":173385230,"user":{"login":"evanmj","id":618400,"avatar_url":"https://avatars.githubusercontent.com/u/618400?v=3","gravatar_id":"","url":"https://api.github.com/users/evanmj","html_url":"https://github.com/evanmj","followers_url":"https://api.github.com/users/evanmj/followers","following_url":"https://api.github.com/users/evanmj/following{/other_user}","gists_url":"https://api.github.com/users/evanmj/gists{/gist_id}","starred_url":"https://api.github.com/users/evanmj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanmj/subscriptions","organizations_url":"https://api.github.com/users/evanmj/orgs","repos_url":"https://api.github.com/users/evanmj/repos","events_url":"https://api.github.com/users/evanmj/events{/privacy}","received_events_url":"https://api.github.com/users/evanmj/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T22:40:10Z","updated_at":"2016-01-20T22:40:10Z","body":"Maybe you could just have a config option that lets you set a string of flags to send, so it would be up to the user to add the options they want... like:\r\n\r\niframe_sandbox_opts = \"allow-forms allow-pointer-lock\".\r\n\r\nThen the PHP code could simply put that option (if provided) inside the sandbox= option of the iframe for each entry."}}