// ==UserScript== // @name 线报酷扩展 // @namespace 线报酷扩展空间 // @match https://www.xianbaoku.net/category-xianbao.html // @match https://www.xianbaoku.net/Ucenter* // @match https://v1.xianbao.fun/category-xianbao.html // @match https://v1.xianbao.fun/Ucenter* // @version 1.5 // @author 线报酷 // @description 用来开启用户中心高级函数,解决部分浏览器禁用通知权限问题,解决微信推送跨域问题 // @connect weixin.qq.com // @connect dingtalk.com // @connect day.app // @connect 127.0.0.1 // @homepageURL https://www.xianbaoku.net/jiaocheng/505211.html // @run-at document-start // @grant unsafeWindow // @grant GM_xmlhttpRequest // @grant GM_notification // @grant GM_info // @license AGPL License // @downloadURL none // ==/UserScript== unsafeWindow.GM_xmlhttpRequest = GM_xmlhttpRequest; unsafeWindow.GM_notification = GM_notification; unsafeWindow.GM_info = GM_info;