-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
114 lines (109 loc) · 6.46 KB
/
index.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>enable-javascript - Welpike</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-aFq/bzH65dt+w6FI2ooMVUpc+21e0SRygnTpmBvdBgSdnuTN7QbdgL+OapgHtvPp" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<link rel="stylesheet" href="./css/main.css">
</head>
<body>
<nav id="nav_menu" class="fixed-top d-flex justify-content-between align-items-center py-2 px-3 border-bottom bg-white">
<h3 class="mb-0">
<a href="./index.html" class="btn btn-primary">
enable-javascript
</a>
</h3>
<ul class="d-flex align-items-center mb-0 gap-3 list-unstyled">
<li><a href="./use.html" class="nav-link">Use</a></li>
<li><a href="https://github.com/Welpike/enable-javascript/issues" class="nav-link">Report an Issue</a></li>
<li><a href="https://github.com/Welpike/enable-javascript" class="nav-link">Contribute</a></li>
</ul>
</nav>
<div style="height:55px;"></div>
<main id="main" class="px-3">
<div class="container">
<h3>How to enable JavaScript in your browser?</h3>
</div>
<div class="container text-center my-5" id="result">
<noscript>
<p class="js_disabled border border-danger bg-danger rounded text-white py-4 text-center">You don't enabled JavaScript. Please follow the guidelines for your browser.</p>
</noscript>
</div>
<div class="container">
<noscript>
<ul class="list-unstyled d-flex gap-3 justify-content-center">
<li><a href="#chrome">Google Chrome</a></li>
<li><a href="#firefox">Mozilla Firefox</a></li>
<li><a href="#opera">Opera Browser</a></li>
<li><a href="#safari">Safari</a></li>
<li><a href="#brave">Brave</a></li>
<li><a href="#edge">Microsoft Edge</a></li>
</ul>
<div class="browser-guide" id="chrome">
<h4>Google Chrome</h4>
<ol>
<li>Go to <a href="chrome://settings/content/javascript" target="_blank">chrome://settings/content/javascript</a>.</li>
<li>Then, click on "Sites can use JavaScript".</li>
<li>Click on the "Reload current page" button of the web browser to refresh the page.</li>
</ol>
</div>
<div class="browser-guide" id="firefox">
<h4>Mozilla Firefox</h4>
<ol>
<li>Go to <a href="about:config" target="_blank">about:config</a>.</li>
<li>Click "I'll be careful, I promise" if a warning message appears.</li>
<li>In the search bar, type "javascript.enabled".</li>
<li>Toggle the "javascript.enabled" preference (right-click and select "Toggle" or double-click the preference) to change the value from "false" to "true".</li>
<li>Click on the "Reload current page" button of the web browser to refresh the page.</li>
</ol>
</div>
<div class="browser-guide" id="opera">
<h4>Opera Browser</h4>
<ol>
<li>Go to <a href="opera://settings/content/javascript" target="_blank">opera://settings/content/javascript</a>.</li>
<li>Then, click on "Sites can use JavaScript".</li>
<li>Click on the "Reload current page" button of the web browser to refresh the page.</li>
</ol>
</div>
<div class="browser-guide" id="safari">
<h4>Safari</h4>
<ol>
<li>On the web browser menu click on the "Edit" and select "Preferences".</li>
<li>In the "Preferences" window select the "Security" tab.</li>
<li>In the "Security" tab section "Web content" mark the "Enable JavaScript" checkbox.</li>
<li>Click on the "Reload the current page" button of the web browser to refresh the page.</li>
</ol>
</div>
<div class="browser-guide" id="brave">
<h4>Brave</h4>
<ol>
<li>Go to <a href="brave://settings/content/javascript" target="_blank">brave://settings/content/javascript</a>.</li>
<li>Then, click on "Sites can use JavaScript".</li>
<li>Click on the "Reload current page" button of the web browser to refresh the page.</li>
</ol>
</div>
<div class="browser-guide" id="edge">
<h4>Microsoft Edge</h4>
<ol>
<li>Go to <a href="edge://settings/content/javascript" target="_blank">edge://settings/content/javascript</a>.</li>
<li>Then, click on "Sites can use JavaScript".</li>
<li>Click on the "Reload current page" button of the web browser to refresh the page.</li>
</ol>
</div>
</noscript>
</div>
<div class="container text-center bg-dark text-white rounded p-4 my-5">
<p>You have a website that needs JavaScript for working, but you don't know how to guide your users for enable it in their browser?</p>
<a href="./use.html" class="btn btn-primary">Use enable-javascript for your project</a>
</div>
</main>
<footer id="footer" class="px-3">
<p>© 2023 <a href="https://github.com/Welpike" target="_blank">Welpike</a> - <a href="https://github.com/Welpike/enable-javascript/tree/main/LICENSE" target="_blank">License</a></p>
</footer>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-qKXV1j0HvMUeCBQ+QVp7JcfGl760yU08IQ+GpUo5hlbpg51QRiuqHAJz8+BrxE/N" crossorigin="anonymous"></script>
<script src="./js/main.js"></script>
</body>
</html>