getting notified when a new docshell is created

NEW
Unassigned

Status

()

17 years ago
9 years ago

People

(Reporter: jorn, Unassigned)

Tracking

Trunk
Future
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

17 years ago
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.
embedding
Assignee: joki → adamlock
Status: UNCONFIRMED → NEW
Component: Event Handling → Embedding: Docshell
Ever confirmed: true
QA Contact: madhur → adamlock

Comment 2

17 years ago
Sorry, I don't understand the context you need this. Can you elaborate?
(Reporter)

Comment 3

17 years ago
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.

Updated

17 years ago
Target Milestone: --- → Future
Assignee: adamlock → nobody
QA Contact: adamlock → docshell
You need to log in before you can comment on or make changes to this bug.