Quote:
Originally Posted by Winkelschraube
Does KOReader create a log file with the last loaded file?
|
logs are written to console on the emulator and to android log buffer on android (you can retrieve them with adb logcat)
Quote:
Originally Posted by Winkelschraube
A suggestion from me would be a script that is executed with every document load.
|
It doesn't make sense to add hooks everywhere. The program itself is a big hook (it is interpreted). You only need to rewrite the parts of the code you need. In that case the function that's called is
https://github.com/koreader/koreader....lua#L537-L585
The scripts there are just for android and made sense because there's no easy way for users to customize the program on that platform.