您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
碧蓝幻想副本打完后,手机收到通知
当前为
// ==UserScript== // @name 碧蓝幻想手机通知助手 // @namespace muu // @version 0.2 // @description 碧蓝幻想副本打完后,手机收到通知 // @author muu // @license MIT // @match *://game.granbluefantasy.jp/* // @match *://gbf.game.mbga.jp/* // @icon http://game.granbluefantasy.jp/favicon.ico // @run-at document-end // @grant GM_notification // @grant GM_xmlhttpRequest // @connect * // ==/UserScript== (function () { 'use strict'; const jsonData = { "msgtype": "text", "text": { "content": "碧蓝幻想打完了" } } window.addEventListener('hashchange', () => { let hash = location.hash if (/^#result_multi\/\d/.test(hash)) { GM_notification({ title: '碧蓝幻想打完了', text: '看一下', timeout: 2000 }) GM_xmlhttpRequest({ method: "GET",//钉钉通知,为POST;QQ和微信为GET url: "",//在引号内填入你的url //如使用钉钉通知,将下四行前的"//"去掉 //headers: { // "Content-Type": 'application/json;charset=utf-8' //}, //data: JSON.stringify(jsonData) }) } }) }());