Mercurial > ec-userscripts
annotate medium-popup-disable.user.js @ 132:8ccdc82249a2
[mandarake direct link] the attribute now set after element is added
author | nanaya <me@nanaya.net> |
---|---|
date | Sun, 07 Jan 2024 19:20:25 +0900 |
parents | 49658e99888a |
children |
rev | line source |
---|---|
30 | 1 // ==UserScript== |
118 | 2 // @name Medium popup disable |
3 // @namespace https://nanaya.net | |
130
49658e99888a
[medium] update class name and use document level styling instead
nanaya <me@nanaya.net>
parents:
118
diff
changeset
|
4 // @version 1.1.0 |
118 | 5 // @description Strip out Medium's highlighting popup "feature" |
6 // @author nanaya | |
7 // @match https://medium.com/* | |
8 // @match https://blog.medium.com/* | |
9 // @match https://m.signalvnoise.com/* | |
10 // @match https://hackernoon.com/* | |
130
49658e99888a
[medium] update class name and use document level styling instead
nanaya <me@nanaya.net>
parents:
118
diff
changeset
|
11 // @grant GM_addStyle |
118 | 12 // @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/medium-popup-disable.user.js |
30 | 13 // ==/UserScript== |
14 | |
109 | 15 'use strict'; |
16 | |
130
49658e99888a
[medium] update class name and use document level styling instead
nanaya <me@nanaya.net>
parents:
118
diff
changeset
|
17 /* global GM_addStyle */ |
49658e99888a
[medium] update class name and use document level styling instead
nanaya <me@nanaya.net>
parents:
118
diff
changeset
|
18 GM_addStyle(` |
49658e99888a
[medium] update class name and use document level styling instead
nanaya <me@nanaya.net>
parents:
118
diff
changeset
|
19 [data-popper-reference-hidden] { |
49658e99888a
[medium] update class name and use document level styling instead
nanaya <me@nanaya.net>
parents:
118
diff
changeset
|
20 display: none !important; |
49658e99888a
[medium] update class name and use document level styling instead
nanaya <me@nanaya.net>
parents:
118
diff
changeset
|
21 } |
49658e99888a
[medium] update class name and use document level styling instead
nanaya <me@nanaya.net>
parents:
118
diff
changeset
|
22 `); |