-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve 'href-sanitizer' — add base64 support #455
Comments
It'd be best if href's attributes can be modified at the same time. For example, every video link in youtube search result page has a parameter "pp=[base64 encoded search query]" in it and it can't be got rid of with current options. Other websites might shove in unnecessary, often tracking parameters as well. So I would like to see a combination of |
…anitizer' scriptlet Squashed commit of the following: commit 66df93f Author: jellizaveta <e.egorova@adguard.com> Date: Wed Oct 16 13:10:27 2024 +0300 fix description, update script commit 8d6f7f0 Author: jellizaveta <e.egorova@adguard.com> Date: Tue Oct 15 21:22:36 2024 +0300 simplify code, add constant commit 6f6d257 Author: jellizaveta <e.egorova@adguard.com> Date: Tue Oct 15 20:21:22 2024 +0300 fix name, comment, simplify code commit cd29a52 Author: Slava Leleka <v.leleka@adguard.com> Date: Tue Oct 15 19:50:38 2024 +0300 src/scriptlets/href-sanitizer.ts edited online with Bitbucket commit 6656964 Author: Slava Leleka <v.leleka@adguard.com> Date: Tue Oct 15 19:50:31 2024 +0300 src/scriptlets/href-sanitizer.ts edited online with Bitbucket commit cc14769 Author: Slava Leleka <v.leleka@adguard.com> Date: Tue Oct 15 19:50:26 2024 +0300 src/scriptlets/href-sanitizer.ts edited online with Bitbucket commit 82ee60f Merge: ffcfd67 901cb2e Author: jellizaveta <e.egorova@adguard.com> Date: Tue Oct 15 16:13:54 2024 +0300 merge master commit ffcfd67 Merge: 83ee0aa dac16b7 Author: jellizaveta <e.egorova@adguard.com> Date: Mon Oct 14 17:08:24 2024 +0300 resolve conflicts commit 83ee0aa Author: jellizaveta <e.egorova@adguard.com> Date: Mon Oct 14 17:03:26 2024 +0300 add the ability to decode base64 string multiple times, fix typo, decode search params, add tests commit 436985f Author: jellizaveta <e.egorova@adguard.com> Date: Mon Oct 14 13:19:25 2024 +0300 fix typo commit 5eb91b9 Author: jellizaveta <e.egorova@adguard.com> Date: Fri Oct 11 21:40:00 2024 +0300 fix indent in docs commit f8384c6 Merge: c81eeb6 0ca98f3 Author: jellizaveta <e.egorova@adguard.com> Date: Fri Oct 11 20:18:16 2024 +0300 merge master commit c81eeb6 Author: jellizaveta <e.egorova@adguard.com> Date: Fri Oct 11 20:08:58 2024 +0300 AG-36282 Add 'transform' option with 'base64decode' value for 'href-sanitizer' scriptlet. #455
Someone websites hide the actual urls behind base64 encoded string. Currently 'href-sanitizer' can't handle this correctly.
It would be best if there's a base64 option for 'href-sanitizer' scriptlet
Related issue (Firefox skip redirect extension) sblask-webextensions/webextension-skip-redirect#181
The text was updated successfully, but these errors were encountered: