annotate japan-times-account-wall-remover.user.js @ 113:647ade033475

Backed out changeset 684704b5adbf
author nanaya <me@nanaya.net>
date Sun, 15 Jan 2023 23:43:37 +0900
parents ef21ef445fc6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
89
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
1 // ==UserScript==
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
2 // @name Japan Times "account wall" remover
109
ef21ef445fc6 Cleanups
nanaya <me@nanaya.net>
parents: 108
diff changeset
3 // @namespace https://nanaya.net
89
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
4 // @match https://www.japantimes.co.jp/*
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
5 // @grant GM_addStyle
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
6 // @version 1.0.1
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
7 // @author nanaya
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
8 // @description Removes account wall
109
ef21ef445fc6 Cleanups
nanaya <me@nanaya.net>
parents: 108
diff changeset
9 // @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/japan-times-account-wall-remover.user.js
89
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
10 // ==/UserScript==
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
11
109
ef21ef445fc6 Cleanups
nanaya <me@nanaya.net>
parents: 108
diff changeset
12 'use strict';
ef21ef445fc6 Cleanups
nanaya <me@nanaya.net>
parents: 108
diff changeset
13
89
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
14 /* global GM_addStyle */
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
15 GM_addStyle(`
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
16 .tp-modal-open.tp-modal-open {
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
17 overflow: auto !important;
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
18 height: auto !important;
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
19 }
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
20 .tp-backdrop.tp-backdrop, .tp-modal.tp-modal {
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
21 display: none !important;
47ae8c7673cb Add japan times account wall remover
nanaya <me@nanaya.pro>
parents:
diff changeset
22 }
108
2c4470b73ad9 Switch to semistandard
nanaya <me@nanaya.net>
parents: 89
diff changeset
23 `);