Update nf-ui-check.js

This commit is contained in:
Shawn
2021-10-12 21:26:45 +08:00
parent 2f1fa81be8
commit aa37e17540

View File

@@ -6,13 +6,12 @@ For Quantumult-X 598+
[task-local]
event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/nf-ui-check.js, tag=Netflix 查询, img-url=text.magnifyingglass.system, enabled=true
event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/nf-ui-check.js, tag=Netflix 查询, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Disney.png, enabled=true
@XIAO_KOP
**/
const BASE_URL = 'https://www.netflix.com/title/'
const FILM_ID = 81215567
@@ -55,7 +54,10 @@ var flags = new Map([[ "AC" , "🇦🇨" ] , [ "AF" , "🇦🇫" ] , [ "AI" , "
//$notify(result["title"], output, result["content"], link)
//console.log(result)
$done({"title":"Netflix 解锁检测","message":result["content"]})
let content = "------------------------------"+"</br></br>"+result["content"]
content = content + "</br></br>------------------------------</br>"+"<font color=#6959CD>"+"<b>节点</b> ➟ " + $environment.params+ "</font>"
content =`<p style="text-align: center; font-family: -apple-system; font-size: large; font-weight: thin">` + content + `</p>`
$done({"title":"Netflix 解锁检测","htmlMessage":content})
})
})()
.finally(() => $done());