![]() |
#1 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,745
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Default to allow javascripts to open windows
Hi All Epub3 Devs,
What are your thoughts on allowing javascripts to open windows (assuming you have enabled javascript in your epub3 in Sigil). Right now we have disabled that feature but there is no user way to override it. The use case I am thinking about is that some epub3's use pop-up windows to generate pop-up footnotes and asides. We could instead allow it and support it in Sigil. Any user can still completely disable javascripts by using Sigil's Preferences. So it should not be a security issue. Thoughts? KevinH |
![]() |
![]() |
![]() |
#2 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,956
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Since you mention javascript can still be disabled, I would be in favor of allowing this feature.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,750
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,550
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Seems the sensible thing to do from a security standpoint. There's very little point in offering multiple levels of user-configurable javascript security in my opinion. They either turn full javascript support on or leave it off (the default).
Last edited by DiapDealer; 07-29-2021 at 01:19 PM. |
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,745
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Done and pushed to master
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 438844
Join Date: Aug 2019
Device: PC, Linux Mint, Tablet, and Telephone
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre is .epub default, but does not open on click | MikeFL | Calibre | 10 | 11-18-2020 10:04 AM |
Default format to open? | Inglorin | Library Management | 4 | 03-16-2020 07:41 AM |
(Q)Change my default open location - ADD BOOKS | myday | Library Management | 2 | 08-17-2011 07:44 PM |
Choosing default apps to open files? | Steven Lyle Jordan | Nook Color & Nook Tablet | 2 | 06-19-2011 09:45 PM |
Unable to open the default dictionary | LucasCorso | Amazon Kindle | 4 | 10-10-2010 10:22 AM |