{"action":"created","issue":{"url":"https://api.github.com/repos/atom/electron/issues/2781","labels_url":"https://api.github.com/repos/atom/electron/issues/2781/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/2781/comments","events_url":"https://api.github.com/repos/atom/electron/issues/2781/events","html_url":"https://github.com/atom/electron/issues/2781","id":106454509,"number":2781,"title":"Set BrowserWindow options defaults for child windows ?","user":{"login":"Gregg8","id":3037372,"avatar_url":"https://avatars.githubusercontent.com/u/3037372?v=3","gravatar_id":"","url":"https://api.github.com/users/Gregg8","html_url":"https://github.com/Gregg8","followers_url":"https://api.github.com/users/Gregg8/followers","following_url":"https://api.github.com/users/Gregg8/following{/other_user}","gists_url":"https://api.github.com/users/Gregg8/gists{/gist_id}","starred_url":"https://api.github.com/users/Gregg8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gregg8/subscriptions","organizations_url":"https://api.github.com/users/Gregg8/orgs","repos_url":"https://api.github.com/users/Gregg8/repos","events_url":"https://api.github.com/users/Gregg8/events{/privacy}","received_events_url":"https://api.github.com/users/Gregg8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-15T00:39:59Z","updated_at":"2015-09-15T05:27:33Z","closed_at":null,"body":"We have an Electron app which launches a new window containing a Flash application from the main window. We set `plugins` to `true` in the `BrowserWindow ` options and away it goes. All good.\r\n\r\nHowever, the Flash app itself then launches another window containing a Flash component. The Flash component fails because it cannot find the Flash plugin. \r\n\r\nThis child app works fine if we just launch it directly in a browser OR if we launch it directly from Electron with `plugins` set to `true`.\r\n\r\nCould Electron be modified to either:\r\na) allow these child windows to inherit the options of the parent window, or...\r\nb) allow option defaults to be specified for these child windows\r\n\r\nor have I missed something and there's an easy way to currently do this?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/atom/electron/issues/comments/140285852","html_url":"https://github.com/atom/electron/issues/2781#issuecomment-140285852","issue_url":"https://api.github.com/repos/atom/electron/issues/2781","id":140285852,"user":{"login":"Gregg8","id":3037372,"avatar_url":"https://avatars.githubusercontent.com/u/3037372?v=3","gravatar_id":"","url":"https://api.github.com/users/Gregg8","html_url":"https://github.com/Gregg8","followers_url":"https://api.github.com/users/Gregg8/followers","following_url":"https://api.github.com/users/Gregg8/following{/other_user}","gists_url":"https://api.github.com/users/Gregg8/gists{/gist_id}","starred_url":"https://api.github.com/users/Gregg8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gregg8/subscriptions","organizations_url":"https://api.github.com/users/Gregg8/orgs","repos_url":"https://api.github.com/users/Gregg8/repos","events_url":"https://api.github.com/users/Gregg8/events{/privacy}","received_events_url":"https://api.github.com/users/Gregg8/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T05:27:33Z","updated_at":"2015-09-15T05:27:33Z","body":"Thanks for finding the link @etiktin. In that case, the app still works.\r\n\r\nIn my case, the app becomes unusable, so I don't consider this to be an enhancement , as per the tagging of the other issue.\r\n\r\nThe inheritance idea would be my preferred solution."}}