add:新增临时rss订阅地址

This commit is contained in:
2022-07-16 18:25:30 +08:00
parent e17095cc7e
commit 88960372f5
4 changed files with 134 additions and 47 deletions

View File

@@ -102,7 +102,10 @@ function Base64() {
}
}
function getParam(name){
let results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
return getParam(name,window.location.href)
}
function getParam(name,url){
let results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(url);
if (results == null) {
return null;
} else {