annotate tweetdeck-column-fix.user.js @ 131:77c5ac0ae047

Add disabling discord menu on links
author nanaya <me@nanaya.net>
date Fri, 30 Jun 2023 20:28:27 +0900
parents 8de2d53a4cb1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
115
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
1 // ==UserScript==
118
8de2d53a4cb1 Fix metadata
nanaya <me@nanaya.net>
parents: 115
diff changeset
2 // @name Tweetdeck column fix
8de2d53a4cb1 Fix metadata
nanaya <me@nanaya.net>
parents: 115
diff changeset
3 // @namespace https://nanaya.net
8de2d53a4cb1 Fix metadata
nanaya <me@nanaya.net>
parents: 115
diff changeset
4 // @version 1.1.0
8de2d53a4cb1 Fix metadata
nanaya <me@nanaya.net>
parents: 115
diff changeset
5 // @description No weird column alignment and color for scrollbar
8de2d53a4cb1 Fix metadata
nanaya <me@nanaya.net>
parents: 115
diff changeset
6 // @author nanaya
8de2d53a4cb1 Fix metadata
nanaya <me@nanaya.net>
parents: 115
diff changeset
7 // @match https://tweetdeck.twitter.com/*
8de2d53a4cb1 Fix metadata
nanaya <me@nanaya.net>
parents: 115
diff changeset
8 // @grant GM_addStyle
8de2d53a4cb1 Fix metadata
nanaya <me@nanaya.net>
parents: 115
diff changeset
9 // @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/tweetdeck-column-fix.user.js
115
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
10 // ==/UserScript==
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
11
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
12 'use strict';
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
13
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
14 /* global GM_addStyle */
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
15 GM_addStyle(`
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
16 .app-columns {
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
17 display: flex;
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
18 }
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
19 .column {
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
20 top: 0;
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
21 flex: none;
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
22 }
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
23 .app-columns-container.app-columns-container.app-columns-container.app-columns-container {
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
24 bottom: 0;
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
25 background-color: #555;
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
26 }
7774174022af Backed out changeset b9b84779a672
nanaya <me@nanaya.net>
parents:
diff changeset
27 `);