annotate dlsite-select-title.user.js @ 91:f1677d285bee

Add dlsite select title
author nanaya <me@nanaya.pro>
date Fri, 18 Feb 2022 19:39:20 +0900
parents
children 2c4470b73ad9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
91
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
1 // ==UserScript==
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
2 // @name dlsite select title
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
3 // @namespace https://myconan.net
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
4 // @match https://www.dlsite.com/*
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
5 // @grant GM_addStyle
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
6 // @version 1.0.0
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
7 // @author nanaya
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
8 // @description Allow selecting work title
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
9 // @downloadURL https://hg.myconan.net/ec-userscripts/raw-file/tip/dlsite-select-title.user.js
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
10 // ==/UserScript==
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
11
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
12 /* global GM_addStyle */
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
13 GM_addStyle(`
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
14 .topicpath_item, #work_name {
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
15 user-select: auto !important;
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
16 }
f1677d285bee Add dlsite select title
nanaya <me@nanaya.pro>
parents:
diff changeset
17 `)