GitHub wiki heading anchors
Posted: Fri Jul 27, 2018 9:54 am
Hi, https://github.com/golang/go/wiki/CodeReviewComments is the example I'll use. It has a table of contents at the start. Each bullet item refers to an anchor. That anchor doesn't exist in the page, instead the anchor's id attribute has 'user-content-' prefixed at the start. I understand this is normal for GitHub wiki pages. With NoScript disabled for the tab, ToC items work, i.e. Firefox 61.0.1-1 scrolls to the heading.
However, with NoScript enabled it initially shows assets-cdn.github.com and github.com as Default. Clicking Custom shows Default is Frame + Fetch.
assets-cdn.github.com has Script with a muddy background so I change that to Custom and tick Script, unticking everything else. The page auto reloads, ToC still doesn't work.
github.com has no muddy backgrounds. assets-cdn.github.com still has mud for the still-ticked Script. No new domainname has appeared in the list. What's a user meant to do from here?
When I disable NoScript for the tab, api.github.com appears in the list, and www.google-analytics.com, so something is being blocked, despite the ticked Script.
However, with NoScript enabled it initially shows assets-cdn.github.com and github.com as Default. Clicking Custom shows Default is Frame + Fetch.
assets-cdn.github.com has Script with a muddy background so I change that to Custom and tick Script, unticking everything else. The page auto reloads, ToC still doesn't work.
github.com has no muddy backgrounds. assets-cdn.github.com still has mud for the still-ticked Script. No new domainname has appeared in the list. What's a user meant to do from here?
When I disable NoScript for the tab, api.github.com appears in the list, and www.google-analytics.com, so something is being blocked, despite the ticked Script.