Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > PocketBook > PocketBook Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-16-2019, 05:12 PM   #1
ezdiy
Zealot
ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.
 
Posts: 121
Karma: 156515
Join Date: Oct 2019
Device: KT, KPW4, PB740-2
PockeTor - Tor browser on Pocketbook (FW5+)

Works only on modern PB gens (FW5). Unpack PockeTor-v*.zip from github into applications/ on main storage, and run @Pocketor app. Once bootstrap says is 100% done, you can type in url/select bookmark.

People behind fascist firewalls that block standard Tor entry guards may need to get a bridge and put it into torrc. Only classic bridges, domain fronting etc bridges won't work, as there's no helper for that.


Last edited by ezdiy; 12-16-2019 at 05:20 PM. Reason: censorship
ezdiy is offline   Reply With Quote
Old 12-17-2019, 02:42 PM   #2
jelbo
Junior Member
jelbo began at the beginning.
 
jelbo's Avatar
 
Posts: 7
Karma: 10
Join Date: Dec 2019
Device: PocketBook Touch HD 3
Amazing work, once again. Thanks for sharing.
jelbo is offline   Reply With Quote
Advert
Old 02-04-2020, 10:33 AM   #3
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 755
Karma: 622656
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
Running perfect on PB631 actual firmware.
Only thing I miss is having tor using other bookmarks and cookies than the normal browser, which is probably doable by renaming some files via script.
nhedgehog is offline   Reply With Quote
Old 02-05-2020, 03:41 AM   #4
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 755
Karma: 622656
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
Pocketor&Bookmarks

Got the bookmarks changing working by changing the startup script:
PockeTor.app
Code:
#!/bin/sh
BOOKMARKS=/mnt/ext1/system/browser.sqlite
mv $BOOKMARKS $BOOKMARKS.standard
if [ -f "$BOOKMARKS.tor" ]; then \cp $BOOKMARKS.tor $BOOKMARKS; fi
 
DIR=$(dirname "$0")/pocketor
if ! sudo /sbin/ifconfig lo 127.0.0.1 netmask 255.0.0.0 up; then
	if ! /mnt/secure/su /sbin/ifconfig lo 127.0.0.1 netmask 255.0.0.0 up; then
		dialog 3 "" "Your device doesn't support loopback interface. You'll need to root it." "OK"
		exit
	fi
fi

echo "PockeTor starting" > $DIR/notices.txt
$DIR/tor -f $DIR/torrc
export LD_PRELOAD=$DIR/proxy.so
export GET_PROXY=socks5://127.0.0.1:1080
export SET_APPNAME=PockeTor
function monitor() {
	while [ -e /proc/$1 ]; do
		sleep 1
	done
  \cp $BOOKMARKS $BOOKMARKS.tor
  \cp $BOOKMARKS.standard $BOOKMARKS
	killall tor
}
monitor $$ &
exec /ebrmain/bin/browser.app file://$DIR/start.html

Last edited by nhedgehog; 02-05-2020 at 10:04 AM. Reason: Found solution
nhedgehog is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pocketbook inkpad 3 - last firmware browser lorenzoferro PocketBook 4 10-23-2018 03:30 AM
Browser im PocketBook Touch Lux 2 dmo PocketBook 2 07-13-2014 07:31 AM
Browser von Pocketbook Touch Lux OnlyHuman PocketBook 1 07-30-2013 04:52 AM
fw5.3.3 for KPW and fw5.3.2 for KT: how different? pirl8 Kindle Developer's Corner 7 03-03-2013 09:26 AM
links browser for PocketBook on google code gshank PocketBook Developer's Corner 7 11-24-2011 09:39 PM


All times are GMT -4. The time now is 07:40 AM.


MobileRead.com is a privately owned, operated and funded community.