mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
use view-source: in config.js
This commit is contained in:
parent
0e70132833
commit
13fbe1c9af
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ function gen(text) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(d.body){
|
if(d.body){
|
||||||
fetch(location.href)
|
fetch("view-source:"+location.href)
|
||||||
.then(res => res.text())
|
.then(res => res.text())
|
||||||
.then(text => {
|
.then(text => {
|
||||||
gen(text);
|
gen(text);
|
||||||
|
|
|
@ -22,4 +22,4 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script charset="utf-8" src="https://cdn.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/config.js"></script>
|
<script charset="utf-8" src="https://jamesfengcao.codeberg.page/en/searchurl/config.js"></script>
|
||||||
|
|
Loading…
Reference in a new issue