Create a script that adapts the Tor Browser manual HTMLs to work in Tor Browser
We need a script that adjusts the Tor Browser manual HTMLs:
- Change the Content Security Policy to use
chrome:(only?). - Strip out
<script>and add our own<script>that points to a script maintained intor-browser. - Replace heading
ids (?). - Replace
hrefandsrcattributes to usechrome:paths.
Note, some of this overlaps with olm.js from tpo/web/marble/support!94 (merged), but we want to reproduce them or do them differently. See my comments in that merge request.
Edited by henry