Feature request: Allow SingleFile to save only specified scripts into the saved page
Is your feature request related to a problem? Please describe. I'm trying to save very complex recipe pages, and SingleFile does a great job... But, the ingredients section includes a scaling script, and it would be swell if the saved pages contained that script and allowed it to function while blocking the rest of the scripts.
Describe the solution you'd like I'm not sure how to configure it, because it would depend on the guts of every site... but allowing named scripts or functions or possibly "allow any script in the named file to run." In my case, the desirable script is in a single referenced HTML file.
Describe alternatives you've considered (optional) Other scripts in the pages are bad news, so unblocking all scripts with the existing toggle won't work.
Additional context (optional) Here's an sample page. Unfortunately, you do need to make a free account to see it. (Most content here is premium, this specific recipe is free if you have an account so you can see the whole page including the ingredient scaling.)
https://www.chefsteps.com/activities/homemade-hidden-valley-style-ranch-dressing
The scaler script is in this file but I have not examined it to see if there are unwanted scripts, too.
Thanks for listening!
Source: gildas-lormeau/SingleFile