Skip to content

Commit

Permalink
Added debian_locked.js target
Browse files Browse the repository at this point in the history
Fixes #415
  • Loading branch information
pyllyukko committed Oct 2, 2018
1 parent 30bebdc commit 6e1e480
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ locked_user.js: user.js
systemwide_user.js: user.js
sed 's/^user_pref/pref/' $< >| $@

debian_locked.js: user.js
sed 's/^user_pref(\("[^"]\+"\),\s\+\([^)]\+\));$$/pref(\1, \2, locked);/' $< >| $@

# https://github.com/mozilla/policy-templates/blob/master/README.md
policies.json:
jq -n -M "{\"policies\": {\"OfferToSaveLogins\": false, \"DisableBuiltinPDFViewer\": true, \"DisablePocket\": true, \"DisableFormHistory\": true, \"SanitizeOnShutdown\": true, \"SearchBar\": \"separate\", \"DisableTelemetry\": true, \"Cookies\": {\"AcceptThirdParty\": \"never\", \"ExpireAtSessionEnd\": true}, \"EnableTrackingProtection\": {\"Value\": true}, \"PopupBlocking\": {\"Default\": true}, \"FlashPlugin\": {\"Default\": false}, \"DisableFirefoxStudies\": true}}" >| $@
Expand Down

2 comments on commit 6e1e480

@nodiscc
Copy link
Contributor

@nodiscc nodiscc commented on 6e1e480 Oct 6, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pyllyukko
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True that.

Please sign in to comment.