changeset 89:47ae8c7673cb

Add japan times account wall remover
author nanaya <me@nanaya.pro>
date Sat, 04 Dec 2021 04:08:25 +0900
parents 14eafa2920c8
children 987cafd4945f
files japan-times-account-wall-remover.user.js
diffstat 1 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/japan-times-account-wall-remover.user.js	Sat Dec 04 04:08:25 2021 +0900
@@ -0,0 +1,21 @@
+// ==UserScript==
+// @name        Japan Times "account wall" remover
+// @namespace   https://myconan.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
+// ==/UserScript==
+
+/* global GM_addStyle */
+GM_addStyle(`
+  .tp-modal-open.tp-modal-open {
+    overflow: auto !important;
+    height: auto !important;
+  }
+  .tp-backdrop.tp-backdrop, .tp-modal.tp-modal {
+    display: none !important;
+  }
+`)