it would be cool if it'd be possible to get notified when a new docshell is created, so for example plugins can be turned off by default. I'm sorry if there's already a way to do this, but i couldnt find any. This is a feature request to make plugin blocking work in galeon.
Assignee: joki → adamlock
Status: UNCONFIRMED → NEW
Component: Event Handling → Embedding: Docshell
Ever confirmed: true
QA Contact: madhur → adamlock
Sorry, I don't understand the context you need this. Can you elaborate?
Oki doki: In galeon, we'd like to have a pref which, if on, blocks all plugins. Afaics, the way to do this with mozilla is calling dochsell->SetAllowPlugins. You need to set this before the page is loaded, and for all frames, or it won't work. I think the least hacky way to achieve this is calling SetAllowPlugins directly on the new docshell when a new docshell is created.
Assignee: adamlock → nobody
QA Contact: adamlock → docshell
You need to log in before you can comment on or make changes to this bug.