diff japan-times-account-wall-remover.user.js @ 109:ef21ef445fc6

Cleanups - wrap everything in function and call them last - fix namespace and update url
author nanaya <me@nanaya.net>
date Sun, 15 Jan 2023 23:33:41 +0900
parents 2c4470b73ad9
children
line wrap: on
line diff
--- a/japan-times-account-wall-remover.user.js	Sun Jan 15 23:24:03 2023 +0900
+++ b/japan-times-account-wall-remover.user.js	Sun Jan 15 23:33:41 2023 +0900
@@ -1,14 +1,16 @@
 // ==UserScript==
 // @name        Japan Times "account wall" remover
-// @namespace   https://myconan.net
+// @namespace   https://nanaya.net
 // @match       https://www.japantimes.co.jp/*
 // @grant       GM_addStyle
 // @version     1.0.1
 // @author      nanaya
 // @description Removes account wall
-// @downloadURL https://hg.myconan.net/ec-userscripts/raw-file/tip/japan-times-account-wall-remover.user.js
+// @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/japan-times-account-wall-remover.user.js
 // ==/UserScript==
 
+'use strict';
+
 /* global GM_addStyle */
 GM_addStyle(`
   .tp-modal-open.tp-modal-open {