changeset 147:15ec4ec958d7 default tip

Sentence case name and match filename (sort of)
author nanaya <me@nanaya.net>
date Sat, 27 Sep 2025 15:06:06 +0900
parents f17f349234cb
children
files cabbage-soft-image-rendering.user.js disable-discord-menu-on-links.user.js discord-disable-menu-on-links.user.js discord-remove-top-bar.user.js dlsite-select-title.user.js fastmail-smaller-remote-image-block-message.user.js lashinbang-always-consent.user.js mandarake-direct-link.user.js nginx-https.user.js rakuten-books-direct-search.user.js surugaya-always-consent.user.js surugaya-direct-image.user.js twitter-default-following-tab.user.js
diffstat 13 files changed, 57 insertions(+), 57 deletions(-) [+]
line wrap: on
line diff
--- a/cabbage-soft-image-rendering.user.js	Sat Sep 27 14:57:25 2025 +0900
+++ b/cabbage-soft-image-rendering.user.js	Sat Sep 27 15:06:06 2025 +0900
@@ -1,5 +1,5 @@
 // ==UserScript==
-// @name        Cabbage Soft Image Rendering
+// @name        Cabbage soft image rendering
 // @namespace   https://nanaya.net
 // @match       https://cabbage-soft.com/*
 // @grant       GM_addStyle
--- a/disable-discord-menu-on-links.user.js	Sat Sep 27 14:57:25 2025 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-// ==UserScript==
-// @name        Disable Discord Menu on Links
-// @namespace   https://nanaya.net
-// @match       https://discord.com/*
-// @grant       none
-// @version     1.0.0
-// @author      nanaya
-// @description Disable custom context menu for external links in Discord
-// @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/disable-discord-menu-on-links.user.js
-// ==/UserScript==
-
-function disableCustomContextMenu (e) {
-  e.stopPropagation();
-}
-
-function fix (link) {
-  if (!(link instanceof window.HTMLAnchorElement)) return;
-  if (link.rel.match(/\bnoopener\b/) == null && link.dataset.role !== 'img') return;
-
-  if (link._ecDisableDiscordMenuOnLinks) return;
-  link._ecDisableDiscordMenuOnLinks = true;
-  link.addEventListener('contextmenu', disableCustomContextMenu);
-}
-
-function run (nodes) {
-  nodes ??= [document.body];
-
-  for (const node of nodes) {
-    if (!(node instanceof window.HTMLElement)) continue;
-    fix(node);
-    for (const link of node.querySelectorAll('a[rel~=noopener], a[data-role=img]')) {
-      fix(link);
-    }
-  }
-}
-
-function onMutate (mutations) {
-  for (const mutation of mutations) {
-    run(mutation.addedNodes);
-  }
-}
-
-const observer = new window.MutationObserver(onMutate);
-observer.observe(document, { childList: true, subtree: true });
-
-run();
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/discord-disable-menu-on-links.user.js	Sat Sep 27 15:06:06 2025 +0900
@@ -0,0 +1,46 @@
+// ==UserScript==
+// @name        Discord disable menu on links
+// @namespace   https://nanaya.net
+// @match       https://discord.com/*
+// @grant       none
+// @version     1.0.0
+// @author      nanaya
+// @description Disable custom context menu for external links in Discord
+// @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/discord-disable-menu-on-links.user.js
+// ==/UserScript==
+
+function disableCustomContextMenu (e) {
+  e.stopPropagation();
+}
+
+function fix (link) {
+  if (!(link instanceof window.HTMLAnchorElement)) return;
+  if (link.rel.match(/\bnoopener\b/) == null && link.dataset.role !== 'img') return;
+
+  if (link._ecDisableDiscordMenuOnLinks) return;
+  link._ecDisableDiscordMenuOnLinks = true;
+  link.addEventListener('contextmenu', disableCustomContextMenu);
+}
+
+function run (nodes) {
+  nodes ??= [document.body];
+
+  for (const node of nodes) {
+    if (!(node instanceof window.HTMLElement)) continue;
+    fix(node);
+    for (const link of node.querySelectorAll('a[rel~=noopener], a[data-role=img]')) {
+      fix(link);
+    }
+  }
+}
+
+function onMutate (mutations) {
+  for (const mutation of mutations) {
+    run(mutation.addedNodes);
+  }
+}
+
+const observer = new window.MutationObserver(onMutate);
+observer.observe(document, { childList: true, subtree: true });
+
+run();
--- a/discord-remove-top-bar.user.js	Sat Sep 27 14:57:25 2025 +0900
+++ b/discord-remove-top-bar.user.js	Sat Sep 27 15:06:06 2025 +0900
@@ -1,5 +1,5 @@
 // ==UserScript==
-// @name        Discord Remove Top Bar
+// @name        Discord remove top bar
 // @namespace   https://nanaya.net
 // @match       https://discord.com/*
 // @grant       GM_addStyle
--- a/dlsite-select-title.user.js	Sat Sep 27 14:57:25 2025 +0900
+++ b/dlsite-select-title.user.js	Sat Sep 27 15:06:06 2025 +0900
@@ -1,5 +1,5 @@
 // ==UserScript==
-// @name        dlsite select title
+// @name        DLsite select title
 // @namespace   https://nanaya.net
 // @match       https://www.dlsite.com/*
 // @grant       GM_addStyle
--- a/fastmail-smaller-remote-image-block-message.user.js	Sat Sep 27 14:57:25 2025 +0900
+++ b/fastmail-smaller-remote-image-block-message.user.js	Sat Sep 27 15:06:06 2025 +0900
@@ -1,5 +1,5 @@
 // ==UserScript==
-// @name        fastmail smaller remote image block message
+// @name        Fastmail smaller remote image block message
 // @namespace   https://nanaya.net
 // @match       https://app.fastmail.com/*
 // @grant       GM_addStyle
--- a/lashinbang-always-consent.user.js	Sat Sep 27 14:57:25 2025 +0900
+++ b/lashinbang-always-consent.user.js	Sat Sep 27 15:06:06 2025 +0900
@@ -1,5 +1,5 @@
 // ==UserScript==
-// @name        lashinbang always consent
+// @name        Lashinbang always consent
 // @namespace   https://nanaya.net
 // @version     1.0.1
 // @description always apply adult consent session
--- a/mandarake-direct-link.user.js	Sat Sep 27 14:57:25 2025 +0900
+++ b/mandarake-direct-link.user.js	Sat Sep 27 15:06:06 2025 +0900
@@ -1,5 +1,5 @@
 // ==UserScript==
-// @name        mandarake direct link
+// @name        Mandarake direct link
 // @namespace   https://nanaya.net
 // @version     2.0.3
 // @description Make proper link on mandarake pages
--- a/nginx-https.user.js	Sat Sep 27 14:57:25 2025 +0900
+++ b/nginx-https.user.js	Sat Sep 27 15:06:06 2025 +0900
@@ -1,5 +1,5 @@
 // ==UserScript==
-// @name        https nginx/freenginx
+// @name        nginx https
 // @namespace   https://nanaya.net
 // @match       http://freenginx.org/*
 // @match       http://nginx.org/*
--- a/rakuten-books-direct-search.user.js	Sat Sep 27 14:57:25 2025 +0900
+++ b/rakuten-books-direct-search.user.js	Sat Sep 27 15:06:06 2025 +0900
@@ -1,5 +1,5 @@
 // ==UserScript==
-// @name        rakuten books direct search
+// @name        Rakuten books direct search
 // @namespace   https://nanaya.net
 // @version     1.0.6
 // @description Search on rakuten without tracking proxy
--- a/surugaya-always-consent.user.js	Sat Sep 27 14:57:25 2025 +0900
+++ b/surugaya-always-consent.user.js	Sat Sep 27 15:06:06 2025 +0900
@@ -1,5 +1,5 @@
 // ==UserScript==
-// @name        suruga-ya always consent
+// @name        Suruga-ya always consent
 // @namespace   https://nanaya.net
 // @version     2.0.3
 // @description always inject adult consent cookie
--- a/surugaya-direct-image.user.js	Sat Sep 27 14:57:25 2025 +0900
+++ b/surugaya-direct-image.user.js	Sat Sep 27 15:06:06 2025 +0900
@@ -1,5 +1,5 @@
 // ==UserScript==
-// @name        suruga-ya direct image
+// @name        Suruga-ya direct image
 // @namespace   https://nanaya.net
 // @version     2.0.3
 // @description skip loading image through php which seems to take forever
--- a/twitter-default-following-tab.user.js	Sat Sep 27 14:57:25 2025 +0900
+++ b/twitter-default-following-tab.user.js	Sat Sep 27 15:06:06 2025 +0900
@@ -1,5 +1,5 @@
 // ==UserScript==
-// @name        twitter default following tab
+// @name        Twitter default following tab
 // @namespace   https://nanaya.net
 // @match       https://mobile.x.com/*
 // @match       https://x.com/*