1
0
mirror of https://github.com/tycrek/degoogle.git synced 2025-01-17 12:58:53 +01:00

feat: add note for HTTPS-Only mode

This commit is contained in:
Josh Moore 2023-10-19 19:20:19 -06:00
parent a17f2656bd
commit 48ae17cd38

View File

@ -158,7 +158,7 @@ function dateBadge(date) {
* Generates a table with browser extensions and their descriptions
*/
function generateBrowserExtensions() {
return `# Browser extensions${EOL + EOL}| Name | Description |${EOL}| ---- | ----------- |${EOL}`
return `# Browser extensions${EOL + EOL}Make sure to enable **[HTTPS-Only mode](https://www.eff.org/https-everywhere/set-https-default-your-browser#main-content)** for your browser.${EOL + EOL}| Name | Description |${EOL}| ---- | ----------- |${EOL}`
.concat(YAML.parse(fs.readFileSync(path.join(__dirname, 'yaml/browserExtensions.yml')).toString())
.map(({ name, text, url }) => `| [${name}](${url}) ${addonLink(url)} | ${text.trim()} |${EOL}`).join(''));
}