annotate fastmail-smaller-remote-image-block-message.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 f3f646436567
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
119
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
1 // ==UserScript==
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
2 // @name fastmail smaller remote image block message
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
3 // @namespace https://nanaya.net
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
4 // @match https://app.fastmail.com/*
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
5 // @grant GM_addStyle
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
6 // @version 1.0.0
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
7 // @author nanaya
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
8 // @description less distracting message
120
f3f646436567 Forgot to add update url
nanaya <me@nanaya.net>
parents: 119
diff changeset
9 // @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/fastmail-smaller-remote-image-block-message.user.js
119
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
10 // ==/UserScript==
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
11
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
12 'use strict';
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
13
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
14 /* global GM_addStyle */
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
15 GM_addStyle(`
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
16 .u-banner--informative.u-banner.u-p-3.u-flex.u-items-baseline.u-space-x-2 {
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
17 padding: 5px 12px;
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
18 }
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
19
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
20 .u-banner--informative.u-banner.u-p-3.u-flex.u-items-baseline.u-space-x-2 button {
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
21 height: auto;
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
22 }
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
23
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
24 .u-banner--informative.u-banner.u-p-3.u-flex.u-items-baseline.u-space-x-2 h3 {
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
25 font-weight: normal;
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
26 }
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
27 `);