Issue 7302 - Added subscriptions parameter to uninstall URL
This MR contains the following changes:
- Added "s" query string parameter to uninstall URL.
- Update parameter value on subscription changes.
- Determine whether ad blocking is active by checking installed filter lists against active filter lists with
type="ads"
subscriptions from subscriptions.json. - Return
Promise
fromsetUninstallURL()
since it's now running asynchronously. - Added subscriptions.json file for testing while #9 (closed) is still being worked on. This file needs to be removed before merging this change.
It also contains the following, optional change:
- Removed redundant ".js" prefix in
require()
call for consistency with other calls in file.
Edited by Thomas Greiner