View Single Post
Old 05-31-2021, 08:43 AM   #15
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,830
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by KevinH View Post
If you want to play around with Bibi and javscripts, you will need to search the bibi folder inside the plugin for a file called defaults.js.

Here is a link to it on github:

https://github.com/Sigil-Ebook/BibiR...ets/default.js

Near the end of that file you will see:
Code:
/* !!!! BE CAREFUL !!!! */ "allow-scripts-in-content" : false, // true or false (false is recommended).
// If you change its value `true`, Bibi does not remove scripts natively-included in EPUB.
// It makes Bibi to be able to open EPUBs including useful scripts.
// But on the other hand, it may also allow XSS of malicious EPUB in some cases.
There are other settings in that file that control what happens when you grow the window too wide and many other useful things.

Changing that file in the plugin should allow you to use your hyphenator and control layout a bit better.

Hope this helps.

KevinH
Thanks!
RbnJrg is offline   Reply With Quote