diff --git a/docs/base.css b/docs/base.css index dd8e17c..af13228 100644 --- a/docs/base.css +++ b/docs/base.css @@ -1,4 +1 @@ -body{margin:0 auto;padding:12vmin 10vmin;max-width:35em;line-height:1.5em;font-family:-apple-system,BlinkMacSystemFont,sans-serif;word-wrap:break-word;} - - -@media (prefers-color-scheme: dark){body{color:white;background-color:#111;}} \ No newline at end of file +body{margin:0 auto;padding:12vmin 10vmin;max-width:35em;line-height:1.5em;font-family:-apple-system,BlinkMacSystemFont,sans-serif;word-wrap:break-word;}@media(prefers-color-scheme: dark){body{color:white;background-color:#111;}} \ No newline at end of file diff --git a/docs/bookmarklet.url.js b/docs/bookmarklet.url.js index bb3a4ee..08e9dcb 100644 --- a/docs/bookmarklet.url.js +++ b/docs/bookmarklet.url.js @@ -15,9 +15,9 @@ https://itty.bitty.app/Recipe_Bookmarklet/Simplify_recipes_with_a_click./%F0%9F% // DOM extraction -javascript:f=new FileReader();f.onload=function(e){top.location.href=('https://itty.bitty.app/#/'+e.target.result)};f.readAsDataURL(new Blob([document.documentElement.outerHTML],{type:'text/raw+html;render=parse;encode=none;charset=utf-8'})); +javascript:f=new(FileReader)();f.onload=function(e){top.location.href=('https://itty.bitty.app/#/'+e.target.result)};f.readAsDataURL(new(Blob)([document.documentElement.outerHTML],{type:'text/raw+html;render=parse;encode=none;charset=utf-8'})); -javascript:f=new FileReader();f.onload=function(e){top.location.href=('http://localhost:8888/#/'+e.target.result)};f.readAsDataURL(new Blob([document.documentElement.outerHTML],{type:'text/raw+html;render=parse;encode=none;charset=utf-8'})); +javascript:f=new(FileReader)();f.onload=function(e){top.location.href=('http://localhost:8888/#/'+e.target.result)};f.readAsDataURL(new(Blob)([document.documentElement.outerHTML],{type:'text/raw+html;render=parse;encode=none;charset=utf-8'})); diff --git a/docs/index.html b/docs/index.html index a821f23..e857050 100644 --- a/docs/index.html +++ b/docs/index.html @@ -12,11 +12,5 @@ -