Ka-Block icon indicating copy to clipboard operation
Ka-Block copied to clipboard

Ka-Block breaks navigation in AWS documentation

Open lrworth opened this issue 2 years ago • 2 comments

Clicking links in the left-hand pane of any AWS documentation (e.g. https://docs.aws.amazon.com/AmazonS3/latest/API/Welcome.html) causes the following console error (from Ka-Block):

Content blocker prevented frame displaying https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html from loading a resource from https://a0.awsstatic.com/s_code/js/3.0/awshome_s_code.js

This completely breaks the navigation system within all AWS documentation — the browser back button does not work and links within the page do not work.

lrworth avatar Feb 02 '23 23:02 lrworth

The dot is unescaped and is matching any character. In this case, it's the / in /s_code/js. https://github.com/dgraham/Ka-Block/blob/f2bfbf1ce71ee24e30a572e4f3cdf387b3adfc62/Shared%20(Extension)/blockerList.json#L34

dgraham avatar Feb 06 '23 16:02 dgraham

Thanks for pointing that out @dgraham

lrworth avatar Feb 06 '23 21:02 lrworth