about summary refs log tree commit diff stats
path: root/src/pages/popup/popup.pug
blob: a2c8de93191ea92b6f269b0cd4eb82904f3713c7 (plain) (blame)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
include ../widgets/icons.pug

doctype html
html(lang="en")
    head
        meta(charset="utf-8")
        meta(name="viewport" content="width=device-width, initial-scale=1")
        link(href="../stylesheets/styles.css" rel="stylesheet")
        link(href="./style.css" rel="stylesheet")
    body(dir="auto")
        #youtube.some-block
            a.title(href="https://youtube.com")
                img(src="../../assets/images/youtube-icon.png")
                h4(data-localise="__MSG_youtube__") YouTube
            input#disable-youtube(type="checkbox")

        #youtubeMusic.some-block
            a.title(href="https://music.youtube.com")
                img(src="../../assets/images/youtube-music-icon.png")
                h4(data-localise="__MSG_ytmusic__") YT Music
            input#disable-youtubeMusic(type="checkbox")

        #twitter.some-block
            a.title(href="https://twitter.com")
                img(src="../../assets/images/twitter-icon.png")
                h4(data-localise="__MSG_twitter__") Twitter
            input#disable-nitter(type="checkbox")

        #instagram.some-block
            a.title(href="https://instagram.com")
                img(src="../../assets/images/instagram-icon.png")
                h4(data-localise="__MSG_instagram__") Instagram
            input#disable-bibliogram(type="checkbox")

        #tikTok.some-block
            a.title(href="https://tiktok.com")
                img(src="../../assets/images/tiktok-icon.png")
                h4(data-localise="__MSG_tiktok__") TikTok
            input#disable-tiktok(type="checkbox")

        #imgur.some-block
            a.title(href="https://imgur.com")
                img(src="../../assets/images/imgur-icon.png")
                h4(data-localise="__MSG_imgur__") Imgur
            input#disable-imgur(type="checkbox")

        #reddit.some-block
            a.title(href="https://reddit.com")
                img(src="../../assets/images/reddit-icon.png")
                h4(data-localise="__MSG_reddit__") Reddit
            input#disable-reddit(type="checkbox")

        #wikipedia.some-block
            a.title(href="https://wikipedia.com")
                img(src="../../assets/images/wikipedia-icon.svg")
                h4(data-localise="__MSG_wikipedia__") Wikipedia
            input#disable-wikipedia(type="checkbox")

        #medium.some-block
            a.title(href="https://medium.com")
                +medium
                h4(data-localise="__MSG_medium__") Medium
            input#disable-medium(type="checkbox")

        #peertube.some-block
            a.title(href="https://search.joinpeertube.org")
                img(src="../../assets/images/peertube-icon.svg")
                h4(data-localise="__MSG_peertube__") PeerTube
            input#disable-peertube(type="checkbox")

        #lbry.some-block
            a.title(href="https://odysee.com/")
                img(src="../../assets/images/lbry-icon.png")
                h4(data-localise="__MSG_lbry__") LBRY
            input#disable-lbry(type="checkbox")

        #search.some-block
            a.title(href="https://search.libredirect.invalid")
                +search
                h4(data-localise="__MSG_search__") Search
            input#disable-search(type="checkbox")

        #translate.some-block
            a.title(href="https://translate.google.com")
                +translate
                h4(data-localise="__MSG_translate__") Translate
            input#disable-simplyTranslate(type="checkbox")

        #maps.some-block
            a.title(href="https://www.openstreetmap.org")
                +maps
                h4(data-localise="__MSG_maps__") Maps
            input#disable-osm(type="checkbox")

        #sendTargets.some-block
            a.title(href="https://send.libredirect.invalid")
                +send
                h4(data-localise="__MSG_sendFiles__") Send Files
            input#disable-sendTargets(type="checkbox")

        hr

        #change_instance_div.some-block
            a#change_instance.title.button
                h4(data-localise="__MSG_switchInstance__") Change Instance
                +change_instance

        #copy_raw_div.some-block(title="Copy the original redirected link")         
            a#copy_raw.title.button
                h4(data-localise="__MSG_copyRaw__") Copy Raw
                +copy_raw

        #unify_div.some-block(title="Unify cookies across all selected instances")
            a#unify.title.button
                h4(data-localise="__MSG_unifySettings__") Unify Settings
                +unify

        .some-block
            a#more-options.title.button
                h4(data-localise="__MSG_settings__") Settings
                +settings

        .space

        script(type="module" src="../options/init.js")
        script(type="module" src="./popup.js")