| 
			
			 | 
		#1 | 
| 
			
			
			
			 Sigil Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072 
				Karma: 6361556 
				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: 48,175 
				Karma: 174315444 
				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,877 
				Karma: 8821117 
				Join Date: Mar 2013 
				Location: Rosario - Santa Fe - Argentina 
				
				
				Device: Kindle 4 NT 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				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 02:19 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Sigil Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072 
				Karma: 6361556 
				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 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Calibre is .epub default, but does not open on click | MikeFL | Calibre | 10 | 11-18-2020 11:04 AM | 
| Default format to open? | Inglorin | Library Management | 4 | 03-16-2020 08:41 AM | 
| (Q)Change my default open location - ADD BOOKS | myday | Library Management | 2 | 08-17-2011 08:44 PM | 
| Choosing default apps to open files? | Steven Lyle Jordan | Nook Color & Nook Tablet | 2 | 06-19-2011 10:45 PM | 
| Unable to open the default dictionary | LucasCorso | Amazon Kindle | 4 | 10-10-2010 11:22 AM |