Preamble: I don't know how it works and if FX 4 is different.
I was thinking about this: what if Fx adds a support for extensions in permissions.sqlite? I'm thinking about a table like this:
id, type of match (domain, url-prefix, url, regexp), matching string, list of extensions to be applied with optional additional data.
When a match is successful, the id is sent to each extension in the list with its optional additional data.
Do you think it's good to open a new bug for this at bugzilla@mozilla?
"permissions.sqlite" Integration
- Lucas Malor
- Senior Member
- Posts: 71
- Joined: Tue Nov 09, 2010 2:01 pm
- Contact:
Re: "permissions.sqlite" Integration
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
- Lucas Malor
- Senior Member
- Posts: 71
- Joined: Tue Nov 09, 2010 2:01 pm
- Contact:
Re: "permissions.sqlite" Integration
mmmhhh... up?
Mozilla/5.0 (Windows NT 5.1; rv:2.0b9pre) Gecko/20101220 Firefox/4.0b9pre
- Giorgio Maone
- Site Admin
- Posts: 9454
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: "permissions.sqlite" Integration
Nope.Lucas Malor wrote:Do you think it's good to open a new bug for this at bugzilla@mozilla?
Extensions can already peek into that data (either directly or thrugh an API).
Just, for some usages (like script blocking) it's not convenient performance wise.
Maybe I'll have to turn to something like that (with a proper and smart caching mechanism, though) when porting some features to Electrolysis.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
- Lucas Malor
- Senior Member
- Posts: 71
- Joined: Tue Nov 09, 2010 2:01 pm
- Contact:
Re: "permissions.sqlite" Integration
... [little ot] Is there something in Fx it's a convenient performance wise? Fx 4 too seems to me it has a better rending speed but a very slow GUI. [/little ot]Giorgio Maone wrote:Just, for some usages (like script blocking) it's not convenient performance wise.
Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 (.NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
- Giorgio Maone
- Site Admin
- Posts: 9454
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: "permissions.sqlite" Integration
Firefox 4 look quite snappy to me: definitely snappier than 3.6.x and more or less equal to Chrome -- faster, indeed, on some tasks.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13