diff --git a/ChangeLog.txt b/ChangeLog.txt index c269339..531413e 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,2 +1,6 @@ +v020 + - added plugin.svg and plugin.png contributed by BeckyEbook + - enable javascripts in epubs by default (per the epub3 standard) + v010 - first public release of BidiReader plugin for Sigil diff --git a/bibi/presets/default.js b/bibi/presets/default.js index f91bcfa..491bb17 100644 --- a/bibi/presets/default.js +++ b/bibi/presets/default.js @@ -135,7 +135,7 @@ Bibi.preset({ // * keep your Bibi and website not to open files which you can not guarantee its security. //---------------------------------------------------------------------------------------------------------------------------------------------- -/* !!!! BE CAREFUL !!!! */ "allow-scripts-in-content" : false, // true or false (false is recommended). +/* !!!! BE CAREFUL !!!! */ "allow-scripts-in-content" : true, // 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. diff --git a/buildplugin b/buildplugin index e57d37c..f608d92 100755 --- a/buildplugin +++ b/buildplugin @@ -25,7 +25,9 @@ PLUGIN_FILES = ['bibi', 'README.md', 'Bibi_README.md', 'plugin.py', - 'plugin.xml',] + 'plugin.xml', + 'plugin.svg', + 'plugin.png'] def findVersion(): _version_pattern = re.compile(r'([^<]*)') diff --git a/plugin.png b/plugin.png new file mode 100644 index 0000000..5b0e9cb Binary files /dev/null and b/plugin.png differ diff --git a/plugin.svg b/plugin.svg new file mode 100644 index 0000000..386d3a6 --- /dev/null +++ b/plugin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/plugin.xml b/plugin.xml index 7916ef6..fbaf560 100755 --- a/plugin.xml +++ b/plugin.xml @@ -5,7 +5,7 @@ Sigil Provide a Bibi epub3 reader to view the current epub being edited python3.4 -0.1.0 +0.2.0 true true osx,win,unx