From 0c329e115fa24c1dd87f9f045416916da950d933 Mon Sep 17 00:00:00 2001 From: BeatLink Date: Wed, 3 Jul 2019 20:34:59 -0500 Subject: Rename archive folder to dev --- dev/README.md | 8 + dev/debugging/debug-notes.log | 216 +++ dev/debugging/policies.examples.json | 47 + .../browser/preferences/in-content/privacy.js | 2022 ++++++++++++++++++++ .../preferences/in-content/privacy.js.patch | 14 + .../librefox.http.watcher.tor@intika.be.xpi | Bin 0 -> 12574 bytes .../{efd1ce61-97d1-4b4f-a378-67d0d41d858d}.xpi | Bin 0 -> 9352 bytes .../Data/Browser/profile.default/user.js | 10 + .../tor/Windows/Librefox-Tor-Create-Link-Here.bat | 3 + dev/packaging/tor/Windows/link.vbs | 9 + dev/policies to implement (WIP) | 27 + 11 files changed, 2356 insertions(+) create mode 100644 dev/README.md create mode 100644 dev/debugging/debug-notes.log create mode 100644 dev/debugging/policies.examples.json create mode 100644 dev/omni-patching/browser/omni.ja/chrome/browser/content/browser/preferences/in-content/privacy.js create mode 100644 dev/omni-patching/browser/omni.ja/chrome/browser/content/browser/preferences/in-content/privacy.js.patch create mode 100644 dev/packaging/tor/TorBrowser/Data/Browser/profile.default/extensions/librefox.http.watcher.tor@intika.be.xpi create mode 100644 dev/packaging/tor/TorBrowser/Data/Browser/profile.default/extensions/{efd1ce61-97d1-4b4f-a378-67d0d41d858d}.xpi create mode 100644 dev/packaging/tor/TorBrowser/Data/Browser/profile.default/user.js create mode 100644 dev/packaging/tor/Windows/Librefox-Tor-Create-Link-Here.bat create mode 100644 dev/packaging/tor/Windows/link.vbs create mode 100644 dev/policies to implement (WIP) (limited to 'dev') diff --git a/dev/README.md b/dev/README.md new file mode 100644 index 0000000..2587d4c --- /dev/null +++ b/dev/README.md @@ -0,0 +1,8 @@ +## Archive + +These are parts of the original LibreFox and have not been reviewed yet. The files in this folder will be reviewed for: + +* Integration into the browser itself +* Integration into the configuration scripts +* Moving to an external repository +* Deletion diff --git a/dev/debugging/debug-notes.log b/dev/debugging/debug-notes.log new file mode 100644 index 0000000..b6999af --- /dev/null +++ b/dev/debugging/debug-notes.log @@ -0,0 +1,216 @@ +======================================================================================================================== +Build Notes v2 : +======================================================================================================================== + +- Compress tar.xz + + tar cfJ + +- Files to remove : + + crash-reporter... + crash-reporter... + removed-files + update... + update... + update... + browser/feature/webcomp... + browser/feature/webcomp... + browser/feature/... + +- Tor files to remove : + + Classic removal plus + https-everywhere addon + profile.meek-http-helper... + +- Patching release : + + >browser.omni.ja.chrome.browser.content.browser.preferences.in-content.privacy.origin (patch with winrar) + Tor : patch mozilla.cfg + +- Tor windows : + + Install it to desktop then get the files + (Only the lnk file is a new file compared to compressed version) + remove lnk file + add link.vbs + add bat file + +- Tor mac : + + Under mac, mount and extract all content to a folder + Copy by command .DS_Store (from dmg to folder) + run "codesign --remove-signature Tor\ Browser.app". + With disk utils, create a dmg from a folder (nocompression rw) + We are converting iso-dmg to dmg... + +======================================================================================================================== +JS Note & Debugging : +======================================================================================================================== + +// ---------- +// CSP Note : +// ---------- +// +// Syntax : +// One or more sources can be allowed for the default-src policy: +// Content-Security-Policy: default-src ; +// Content-Security-Policy: default-src ; +// +// default-src is a fallback for : +// - child-src +// - connect-src +// - font-src +// - frame-src +// - img-src +// - manifest-src +// - media-src +// - object-src +// - prefetch-src +// - script-src +// - style-src +// - worker-src +// +// can be one of the following: +// +// 'none' +// Refers to the empty set; that is, no URLs match. The single quotes are required. +// +// 'self' +// Refers to the origin from which the protected document is being served, +// including the same URL scheme and port number. You must include the single quotes. +// Some browsers specifically exclude blob and filesystem from source directives. +// Sites needing to allow these content types can specify them using the Data attribute. +// +// 'unsafe-inline' +// Allows the use of inline resources, such as inline