Greasy Fork is available in English.
碧蓝幻想副本打完后,手机收到通知
当前为
// ==UserScript==
// @name 碧蓝幻想手机通知助手
// @namespace muu
// @version 0.1
// @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';
window.addEventListener('hashchange', () => {
let hash = location.hash
if (/^#result_multi\/\d/.test(hash)) {
GM_notification({
title: '碧蓝幻想打完了',
text: '看一下',
timeout: 2000
})
GM_xmlhttpRequest({
method: "GET",
url: ""//在引号内填入你的url
})
}
})
}());