Skip to content

Commit

Permalink
added in altered noscript defaults and new extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Feb 9, 2019
1 parent 27cc59e commit c9dd692
Show file tree
Hide file tree
Showing 15 changed files with 56 additions and 11 deletions.
54 changes: 43 additions & 11 deletions Makefile
Expand Up @@ -40,11 +40,26 @@ clean-build:
rm -rfv firefox.launchers/build

install:
mkdir -p $(DESTDIR)$(prefix)/lib/firefox.profile.i2p/
cp -rv firefox.profile.i2p $(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p
chmod a+rx $(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p
chmod a+rx $(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p/extensions
install -m755 firefox.launchers/gnulinux/install.sh $(DESTDIR)$(prefix)/lib/firefox.profile.i2p/install.sh
mkdir -p $(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p/extensions
mkdir -p $(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p/extensions
install -m644 firefox.profile.i2p/user.js \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p
install -m644 firefox.profile.i2p/bookmarks.html \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p
install -m644 firefox.profile.i2p/storage-sync.sqlite \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p
install -m644 firefox.profile.i2p/search.json.mozlz4 \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p
install -m644 firefox.profile.i2p/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p/extensions
install -m644 firefox.profile.i2p/extensions/https-everywhere-eff@eff.org.xpi \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p/extensions
install -m644 firefox.profile.i2p/extensions/i2psetproxy.js@eyedeekay.github.io.xpi \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p/extensions
install -m644 firefox.profile.i2p/extensions/privacybutton-0.1-an+fx.xpi \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p/extensions
install -m755 firefox.launchers/gnulinux/install.sh \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/install.sh
install -m755 firefox.launchers/gnulinux/I2PBrowser.sh $(DESTDIR)$(bindir)
install -m755 firefox.launchers/gnulinux/I2PBrowser-Private.sh $(DESTDIR)$(bindir)
install -m755 firefox.launchers/gnulinux/I2PBrowser-Debug.sh $(DESTDIR)$(bindir)
Expand All @@ -57,11 +72,24 @@ install:

install-debian:
mkdir -p $(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p/extensions
cp -v firefox.profile.i2p/user.js $(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p
cp -v firefox.profile.i2p/bookmarks.html $(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p
chmod a+rx $(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p
chmod a+rx $(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p/extensions
install -m755 firefox.launchers/gnulinux/install.sh $(DESTDIR)$(prefix)/lib/firefox.profile.i2p/install.sh
install -m644 firefox.profile.i2p/user.js \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p
install -m644 firefox.profile.i2p/bookmarks.html \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p
install -m644 firefox.profile.i2p/storage-sync.sqlite \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p
install -m644 firefox.profile.i2p/search.json.mozlz4 \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p
install -m644 firefox.profile.i2p/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p/extensions
install -m644 firefox.profile.i2p/extensions/https-everywhere-eff@eff.org.xpi \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p/extensions
install -m644 firefox.profile.i2p/extensions/i2psetproxy.js@eyedeekay.github.io.xpi \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p/extensions
install -m644 firefox.profile.i2p/extensions/privacybutton-0.1-an+fx.xpi \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/firefox.profile.i2p/extensions
install -m755 firefox.launchers/gnulinux/install.sh \
$(DESTDIR)$(prefix)/lib/firefox.profile.i2p/install.sh
install -m755 firefox.launchers/gnulinux/I2PBrowser.sh $(DESTDIR)$(bindir)
install -m755 firefox.launchers/gnulinux/I2PBrowser-Private.sh $(DESTDIR)$(bindir)
install -m755 firefox.launchers/gnulinux/I2PBrowser-Debug.sh $(DESTDIR)$(bindir)
Expand All @@ -75,6 +103,9 @@ install-debian:
install-profile-syswide: sysuser locked_sysuser
cp -v locked_sysuser.js $(DESTDIR)/etc/firefox/syspref.js

install-profile-syswide-debian: sysuser locked_sysuser
cp -v locked_sysuser.js $(DESTDIR)/etc/firefox-esr/firefox-esr.js

install-extensions-syswide: install-profile-syswide
echo "If you are on Debian, please install by running apt-get install webext-noscript webext-https-everywhere!"
cp -v firefox.profile.i2p/extensions/*.xpi $(DESTDIR)/$(prefix)/lib/firefox-addons/extensions/
Expand All @@ -100,7 +131,8 @@ fix-perms:
profile:
cp -rv firefox.profile.i2p/* $(HOME)/.mozilla/firefox/firefox.profile.i2p

uninstall: remove
uninstall:
rm -rf /usr/lib/firefox.profile.i2p

remove:
rm -fr $(HOME)/.mozilla/firefox/firefox.profile.i2p
Expand Down
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -69,6 +69,13 @@ to uninstall.
- 0.10x (Planned) No known bugs. Best-case scenario for current i2p browsers
using Firefox or TBB.

### Donate

* XMR:43V6cTZrUfAb9JD6Dmn3vjdT9XxLbiE27D1kaoehb359ACaHs8191mR4RsJH7hGjRTiAoSwFQAVdsCBToXXPAqTMDdP2bZB
* BTC:159M8MEUwhTzE9RXmcZxtigKaEjgfwRbHt
* ETH:0x2c7F38c592938915C263a51b4AC078bf91F47C5D
* (These are to me, not the i2p project)

### Automatic Setup (Recommended, Windows) [Standalone guide](WINDOWS.md)

0. Install the Firefox web browser. You can download it from
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 6 additions & 0 deletions firefox.launchers/gnulinux/install.sh
Expand Up @@ -125,6 +125,8 @@ debug(){
cp -v "$INSTALL_DIR/firefox.profile.i2p/extensions/"*.xpi "$DIR/../.firefox.profile.i2p.debug/extensions"
cp -v "$INSTALL_DIR/firefox.profile.i2p/bookmarks.html" "$DIR/../.firefox.profile.i2p.debug/bookmarks.html"
cp -v "$INSTALL_DIR/firefox.profile.i2p/user.js" "$DIR/../.firefox.profile.i2p.debug/user.js"
cp -v "$INSTALL_DIR/firefox.profile.i2p/storage-sync.sqlite" "$DIR/../.firefox.profile.i2p.debug/storage-sync.sqlite"
cp -v "$INSTALL_DIR/firefox.profile.i2p/search.json.mozlz4" "$DIR/../.firefox.profile.i2p.debug/search.json.mozlz4"
echo "firefox --jsconsole --devtools --no-remote --profile \"$DIR/../.firefox.profile.i2p.debug\" --private about:blank $1"
ls "$DIR/../.firefox.profile.i2p.debug"
firefox --jsconsole --devtools --no-remote --profile "$DIR/../.firefox.profile.i2p.debug" --private about:blank $1
Expand All @@ -141,6 +143,8 @@ private(){
cp -v "$INSTALL_DIR/firefox.profile.i2p/extensions/"*.xpi "$DIR/../.firefox.profile.i2p.private/extensions"
cp -v "$INSTALL_DIR/firefox.profile.i2p/bookmarks.html" "$DIR/../.firefox.profile.i2p.private/bookmarks.html"
cp -v "$INSTALL_DIR/firefox.profile.i2p/user.js" "$DIR/../.firefox.profile.i2p.private/user.js"
cp -v "$INSTALL_DIR/firefox.profile.i2p/storage-sync.sqlite" "$DIR/../.firefox.profile.i2p.private/storage-sync.sqlite"
cp -v "$INSTALL_DIR/firefox.profile.i2p/search.json.mozlz4" "$DIR/../.firefox.profile.i2p.private/search.json.mozlz4"
firefox --no-remote --profile "$DIR/../.firefox.profile.i2p.private" --private about:blank $1
rm -rfv "$DIR/../.firefox.profile.i2p.private"
}
Expand All @@ -154,6 +158,8 @@ run(){
cp -v "$INSTALL_DIR/firefox.profile.i2p/extensions/"*.xpi "$DIR/../.firefox.profile.i2p.default/extensions"
cp -v "$INSTALL_DIR/firefox.profile.i2p/bookmarks.html" "$DIR/../.firefox.profile.i2p.default/bookmarks.html"
cp -v "$INSTALL_DIR/firefox.profile.i2p/user.js" "$DIR/../.firefox.profile.i2p.default/user.js"
cp -v "$INSTALL_DIR/firefox.profile.i2p/storage-sync.sqlite" "$DIR/../.firefox.profile.i2p.default/storage-sync.sqlite"
cp -v "$INSTALL_DIR/firefox.profile.i2p/search.json.mozlz4" "$DIR/../.firefox.profile.i2p.default/search.json.mozlz4"
echo "installed $INSTALL_DIR to $DIR/../.firefox.profile.i2p.default"
firefox --no-remote --profile "$DIR/../.firefox.profile.i2p.default" about:blank $1
}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added firefox.profile.i2p/search.json.mozlz4
Binary file not shown.
Binary file added firefox.profile.i2p/storage-sync.sqlite
Binary file not shown.

0 comments on commit c9dd692

Please sign in to comment.