Amazon short urls #1246
Amazon short urls
#1246
-
Will this extension prevent tag injection when the link is shortened by amazon? Like amzn.to/123213 |
Beta Was this translation helpful? Give feedback.
Answered by
timbru31
Nov 14, 2023
Replies: 1 comment
-
Yes it does! By using the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
timbru31
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes it does! By using the
blocking
feature of the webRequest.onBeforeRequest the URL is altered before a connection is being made.If my memory serves right then the amzn.to is resolved first, which answers with a 302 (the long URL with the tag in it). This URL is then sanitized before your browser does the connection.