// ==UserScript== // @name FRDS // @namespace https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a // @version 2.0.1 // @author janlay // @loginURL https://pt.keepfrds.com/ // @updateURL https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a/raw/frds.js // @expire 604800e3 // @domain pt.keepfrds.com // ==/UserScript== const endpoint = 'https://pt.keepfrds.com/'; exports.run = exports.check = async function(param) { var { data } = await axios.get(`${endpoint}index.php`); return /欢迎回来/.test(data); };