ABP | IPM update/additional subdomain command parameter
Background / User story
Almost all IPMs must open on different sub-domains of the product's TLD. The create_on_page_dialog
parameter button_target
and the create_tab
parameter URL need to support subdomains in some way.
Currently websites must create a redirect from the original URL to the actual landing page which introduces latency and can look "suspicious" to users that can see the page redirect happen (slow connections). This is additional work and maintenance for the websites team and creates a poor user experience.
What to change
Additionally allow the following subdomains to be valid targets for the create_on_page_dialog
command's parameter button_target
and the create_tab
command's parameter url
:
- blog.adblockplus.org
- help.adblockplus.org
- new.adblockplus.org
- accounts.adblockplus.org
- welcome.adblockplus.org
Hints for testers
The above mentioned subdomains should be considered valid values.
Update
This is the expected behavior:
- If a relative URL is passed in the parameter (e.g.
/update
), the extension should prependhttps://adblockplus.org
, so that the complete URL will behttps://adblockplus.org/update
. - If an absolute URL is passed (e.g.
https://adblockplus.org/update
, orhttps://blog.adblockplus.org/some-article
, orhttps://help.adblockplus.org/
), the extension should use the given URL as it is without modifying it.
Hints for translators
Nothing to translate.