forked from FirefoxCSS-Store/FirefoxCSS-Store.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
76 lines (66 loc) · 3.32 KB
/
test.html
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
<div id="select-browser" style="display: none">
<h1>Select a browser</h1>
<div id="browser-grid" class="install-option">
<div class="browser-card" id="select-stable">
<img src="https://www.mozilla.org/media/protocol/img/logos/firefox/browser/logo.eb1324e44442.svg" alt="Firefox stable icon" />
<h2>Firefox Stable or Beta</h2>
</div>
<div class="browser-card" id="select-dev">
<img src="https://www.mozilla.org/media/protocol/img/logos/firefox/browser/developer/logo.41d42822c8fb.svg" alt="Firefox developer edition icon" />
<h2>Firefox Developer Edition and Nightly</h2>
</div>
<div class="browser-card" id="select-waterfox">
<img src="https://www.waterfox.net/img/logo.svg" alt="Waterfox icon" />
<h2>Waterfox or Pulse browser</h2>
</div>
</div>
</div>
<div id="stable-browser" style="display: none;" class="install-option">
<h1>Installing on Firefox Stable and Beta</h1>
<ol>
<li>Download the theme <a href="${this._link}">from the git repository</a>. If it is a Github repo, you can download it by clicking the big green "Code" button and click "Download.zip"</li>
<li>Open <code>about:config</code></li>
<li>A dialog will warn you, but ignore t, just doit. Press the "I accept the risk!" button.</li>
<li>Search for these and enable each of them:
<ul>
${stableEnableOptions.map(option => `<li><code>${option}</code></li>`).join('')}
</ul>
</li>
<li>Go to your Firefox profile:
<ul>
<li>Linux - <code>$HOME/.mozilla/firefox/XXXXXXX.default-XXXXXX/</code>.</li>
<li>Windows 10 - <code>C:\Users\<USERNAME>\AppData\Roaming\Mozilla\Firefox\Profiles\XXXXXXX.default-XXXXXX</code>.</li>
<li>macOS - <code>Users/<USERNAME>/Library/Application Support/Firefox/Profiles/XXXXXXX.default-XXXXXXX</code>.</li>
</ul>
</li>
<li>
Create a folder and name it <code>chrome</code>, then assuming that
you already have cloned this repo, just copy the theme to
<code>chrome</code> folder.
</li>
<li>Restart Firefox</li>
</ol>
</div>
<div id="nightly-browser" style="display: none;" class="install-option">
<h1>Installing on Firefox Developer Edition and Nightly</h1>
<ol>
<li>Open <code>about:config</code></li>
<li>A dialog will warn you, but ignore t, just doit. Press the "I accept the risk!" button.</li>
<li>Search for <code>xpinstall.signatures.required</code> and disable it.</li>
<li>Search for these and enable each of them:
<ul>
${nightlyEnableOptions.map(option => `<li><code>${option}</code></li>`).join('')}
</ul>
</li>
<li>
You are now ready to install the theme. Simply clock the button below.
</li>
</ol>
<div class="addon-install-options"></div>
</div>
<div id="forked-browser" style="display: none;" class="install-option">
<h1>Installing on Waterfox and Pulse Browser</h1>
<p>You are now ready to install the theme. Simply clock the button below.</p>
<div class="addon-install-options"></div>
</div>
<button type="button" class="btn btn-close-lightbox" onClick="removeLightbox()"><i class="fas fa-times-circle"></i> Close</button>