tld service for webextensions
Categories
(WebExtensions :: General, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: mixedpuppy, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [wecg][design-decision-approved])
Attachments
(1 file, 2 obsolete files)
Comment 1•9 years ago
|
||
Updated•9 years ago
|
Updated•9 years ago
|
Comment 2•9 years ago
|
||
| Reporter | ||
Comment 3•9 years ago
|
||
Comment 4•9 years ago
|
||
Comment 5•9 years ago
|
||
Comment 6•9 years ago
|
||
Updated•9 years ago
|
Updated•9 years ago
|
Comment 7•9 years ago
|
||
Comment 8•9 years ago
|
||
Comment 9•9 years ago
|
||
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
Comment 13•8 years ago
|
||
Comment 14•8 years ago
|
||
Updated•7 years ago
|
| Reporter | ||
Comment 15•6 years ago
|
||
ni? Fallen to consider and fit in somewhere.
Comment 16•6 years ago
|
||
Thanks for tagging me. I'm fine with having this sort of API available, though I'm not sure about the approach. If we are going to be exposing this on the window I'd prefer if we could work towards standardizing it instead of having a WebExtensions specific window property.
Comment 17•4 years ago
|
||
BTW: there are also Rust implementations in an attempt to parse PSL quickly:
https://crates.io/crates/psl
There are hundreds of JS libraries and all big extensions like Adblock Plus parse the PSL multiple times on each link on a every website. However, these are all not very efficient.
I use a Regex in my scripts that is executed on every website link. This Regex checks if a link is a referrer link (e.g. http://www.yahoo.de/redirect.cgi?=www.standard.co.uk). For different conditions, the PSL has to be parsed 4 times on each link on a website.
Adbuster's reference implementation is using an array map which results in an overall performance loss of 20% for each website, but it would be awesome if there would be a faster, FF integrated solution.
Updated•3 years ago
|
Updated•3 years ago
|
| Comment hidden (obsolete) |
Updated•3 years ago
|
| Comment hidden (obsolete) |
Comment 20•3 years ago
|
||
I filed an issue to discuss this feature in the WebExtensions Community group:
https://github.com/w3c/webextensions/issues/231
("Extension API to find the public suffix (eTLD) of a given URL/domain")
Updated•3 years ago
|
Comment 21•3 years ago
|
||
Exposes a call to Services.eTLD.getPublicSuffix(url) as a new
webextensions API method: browser.dns.getPublicSuffix(url)
E.g. getPublicSuffix("https://www.mozilla.co.uk:80") => "co.uk"
The method also takes an optional "additionalParts" integer parameter:
E.g. getPublicSuffix("https://www.mozilla.co.uk:80", 1) => "mozilla.co.uk"
This will save Addon creators from having to reinvent the wheel.
The Mozilla Multi-Account Containers Addon team intends to use this functionality
for a Wildcard Subdomains feature that is currently in development, see PR:
https://github.com/mozilla/multi-account-containers/pull/2352
Updated•3 years ago
|
| Comment hidden (off-topic) |
| Comment hidden (off-topic) |
Updated•3 years ago
|
Comment 24•3 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 277 votes and 5 See Also bugs.
:3ecdbelo, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 25•3 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Comment 26•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Updated•2 years ago
|
Comment 27•1 year ago
•
|
||
:mcfrenka
After some discussions in the WECG there is a generally positive sentiment towards a (cross-browser) extension API for public suffix. Are you interested in creating a proposal in the WECG so that we can finalize the details of the API? Once that is done the patch can be tweaked based on the feedback and landed.
The proposal process is described at https://github.com/w3c/webextensions/blob/main/proposals/proposal_process.md
I mentioned this status at https://github.com/w3c/webextensions/issues/231#issuecomment-2247438680
Updated•1 year ago
|
Comment 28•1 year ago
|
||
:robwu
Thanks for pushing this forward. Yes I would be interested in creating a WECG proposal. What sort of timeframe would be good (for creating the proposal)?
Comment 29•1 year ago
|
||
There is no time pressure here. It is totally fine if you need a few weeks to find time. Feel free to contact me on Matrix if you have some quick questions.
Comment 30•1 year ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Comment 31•1 year ago
|
||
Clear a needinfo that is pending on an inactive user.
Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.
For more information, please visit BugBot documentation.
Description
•