diff --git a/en/searchurl/config.js b/en/searchurl/config.js index 06e107c..a5551df 100644 --- a/en/searchurl/config.js +++ b/en/searchurl/config.js @@ -38,7 +38,7 @@ function gen(text) { } if(d.body){ - fetch(location.href) + fetch("view-source:"+location.href) .then(res => res.text()) .then(text => { gen(text); diff --git a/zh/searchurl/template/config.html b/zh/searchurl/template/config.html index 8ee453b..ed87a0a 100644 --- a/zh/searchurl/template/config.html +++ b/zh/searchurl/template/config.html @@ -22,4 +22,4 @@ - +