-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpatterns.ts
More file actions
60 lines (59 loc) · 1.51 KB
/
Copy pathpatterns.ts
File metadata and controls
60 lines (59 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import { Pattern } from "./types";
// Ordered by url in alphabetical order.
export const patterns: Pattern[] = [
{
url: "^https://automaton-media.com/$",
container: ".td-pb-span8 .td-block-span12",
link: "a",
},
{
url: "^https://news.ycombinator.com/",
container: ".athing",
link: ".title a",
},
{
url: "^https://store.steampowered.com/wishlist/id/",
container: ".wishlist_row",
link: "a",
},
{
url: "^https://www.4gamer.net/",
container: ".V2_article_container",
link: "h2 a",
},
{
url: "^https://www.amazon.co.jp/s\\?",
container: ".s-result-item:not(:has(.s-result-item))",
link: "h2 a",
},
{
url: "^https://www.gamespark.jp/",
container: "main .news-list section",
link: "a",
},
{
url: "^https://www.google.com/search\\?",
container: ".MjjYud:not(:has(.cUnQKe)):not(:has(.EyBRub)):not(:has(.sATSHe)),.sATSHe",
link: "a[ping]",
},
{
url: "^https://www.youtube.com/$",
container: "#content",
link: "#video-title-link",
},
{
url: "^https://www.youtube.com/results\\?",
container: "ytd-video-renderer,ytd-playlist-renderer",
link: "#video-title,a:has(#video-title)",
},
{
url: "^https://www.youtube.com/@",
container: "ytd-grid-video-renderer",
link: "a",
},
{
url: "^https://zenn.dev/",
container: ".ArticleList_itemContainer__UNI2Y,.ArticleCard_container__duCK7,.BookLink_container__9S5ov,.BookLargeLink_container__BtUdP,.ScrapRow_container__ia7f8",
link: "a",
},
];