Fixing the pains of allowing WebGL apps
Posted: Mon Feb 24, 2014 3:28 pm
Hey,
Lately I see myself using more and more WebGL, and allowing it in NoScript is a real pain. It would be very nice if it was a simple as allowing a Flash app: One click on a placeholder, eventually allowing JS on 1st party too.
But WebGL is hidden all too often and you have to:
- Allow 1st party JS
- Reload if NoScript is not set to auto-reload, and go to NS menu
- Move to blocked objects and find out WebGL for the website you're on
- Sometimes you also have to allow sound files, which is even more annoying if there are several mimetypes in use. (NS Menu > Blocked object for each and every type on top of allowing WebGL itself)
- Reload once more
With Flash, if the site is done properly you only have to click the placeholder once to get it running. At worst, allow JS, reload and click placeholder.
It would be nice that NoScript:
- Displays the WebGL placeholder more often. For some reason it is currently very rare even if 1st party JS is allowed. When really impossible to display a placeholder, allowing WebGL should be accessible as a 1st level item in NS drop down menu
- Assumes that clicking a WebGL placeholder or allowing it from the menu implies allowing JS for the host
- Assumes that sound files like OGG, MP3 and stuff are allowed as well
- Ideally it shouldn't require a page reload to get it running once allowed (like Flash), but since WebGL is not a plugin I don't know how feasible this is.
Finally, but that is a different feature, we should be able to see a WebGL app in the UI white list or elsewhere to make it easier to revoke permissions. Ideally, all (temp-)allowed blocked objects would appear individually in a list, and NS would infer which object belong to a WebGL app and display them under a tree architecture with the usual "+" button.
What do you guys think ? The first part is direly necessary IMO. The second is something I've wished for long before WebGL (without the tree architecture thing), but could live without I guess. It's gotten worse because of the difficulty to allow WebGL though - but if that is fixed then ceases being "worse" and gets back to just being inconvenient
Lately I see myself using more and more WebGL, and allowing it in NoScript is a real pain. It would be very nice if it was a simple as allowing a Flash app: One click on a placeholder, eventually allowing JS on 1st party too.
But WebGL is hidden all too often and you have to:
- Allow 1st party JS
- Reload if NoScript is not set to auto-reload, and go to NS menu
- Move to blocked objects and find out WebGL for the website you're on
- Sometimes you also have to allow sound files, which is even more annoying if there are several mimetypes in use. (NS Menu > Blocked object for each and every type on top of allowing WebGL itself)
- Reload once more
With Flash, if the site is done properly you only have to click the placeholder once to get it running. At worst, allow JS, reload and click placeholder.
It would be nice that NoScript:
- Displays the WebGL placeholder more often. For some reason it is currently very rare even if 1st party JS is allowed. When really impossible to display a placeholder, allowing WebGL should be accessible as a 1st level item in NS drop down menu
- Assumes that clicking a WebGL placeholder or allowing it from the menu implies allowing JS for the host
- Assumes that sound files like OGG, MP3 and stuff are allowed as well
- Ideally it shouldn't require a page reload to get it running once allowed (like Flash), but since WebGL is not a plugin I don't know how feasible this is.
Finally, but that is a different feature, we should be able to see a WebGL app in the UI white list or elsewhere to make it easier to revoke permissions. Ideally, all (temp-)allowed blocked objects would appear individually in a list, and NS would infer which object belong to a WebGL app and display them under a tree architecture with the usual "+" button.
What do you guys think ? The first part is direly necessary IMO. The second is something I've wished for long before WebGL (without the tree architecture thing), but could live without I guess. It's gotten worse because of the difficulty to allow WebGL though - but if that is fixed then ceases being "worse" and gets back to just being inconvenient