NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name Force Koto city gov use Japanese
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.city.koto.lg.jp/*
// @grant none
// @license MIT
// @updateURL https://openuserjs.org/meta/kang/force_koto_city_gov_site_use_ja.meta.js
// @downloadURL https://openuserjs.org/install/kang/force_koto_city_gov_site_use_ja.js
// ==/UserScript==
(function () {
'use strict';
const observer = new MutationObserver((mutations) => {
mutations.forEach(({
addedNodes
}) => {
addedNodes.forEach((addedNode) => {
if (addedNode.nodeType === 1 && addedNode.matches('script') && addedNode.src === 'https://api.welltool.io/js/hptrs.js?lang=ja') {
console.log("remove auto transaction tools");
addedNode.remove();
observer.disconnect();
}
});
});
});
observer.observe(document.documentElement, {
childList: true,
subtree: true
});
// Your code here...
})();