-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelp.html
More file actions
378 lines (322 loc) · 8.96 KB
/
help.html
File metadata and controls
378 lines (322 loc) · 8.96 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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SHIFT Code Manager - Help</title>
<style>
body {
max-width: 800px;
min-width: 600px;
width: 80vw;
padding: 20px;
font-family: Arial, sans-serif;
margin: 0 auto;
line-height: 1.6;
color: #333;
background-color: #f9f9f9;
}
.container {
background-color: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header {
text-align: center;
border-bottom: 2px solid #007cba;
padding-bottom: 15px;
margin-bottom: 20px;
}
h1 {
font-size: 24px;
color: #007cba;
margin: 0;
font-family: Impact, 'Arial Black', sans-serif;
text-transform: uppercase;
letter-spacing: 1px;
}
.subtitle {
color: #666;
font-size: 14px;
margin-top: 5px;
}
h2 {
color: #007cba;
font-size: 18px;
margin-top: 25px;
margin-bottom: 10px;
border-left: 4px solid #007cba;
padding-left: 10px;
}
h3 {
color: #333;
font-size: 16px;
margin-top: 20px;
margin-bottom: 8px;
}
.step {
background-color: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 5px;
padding: 15px;
margin: 10px 0;
}
.step-number {
background-color: #007cba;
color: white;
border-radius: 50%;
width: 25px;
height: 25px;
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: bold;
margin-right: 10px;
}
.warning {
background-color: #fff3cd;
border: 1px solid #ffeaa7;
border-radius: 5px;
padding: 12px;
margin: 15px 0;
}
.warning-title {
font-weight: bold;
color: #856404;
margin-bottom: 5px;
}
.info {
background-color: #d1ecf1;
border: 1px solid #bee5eb;
border-radius: 5px;
padding: 12px;
margin: 15px 0;
}
.info-title {
font-weight: bold;
color: #0c5460;
margin-bottom: 5px;
}
.platform-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 10px;
margin: 10px 0;
}
.platform-item {
background-color: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 4px;
padding: 8px;
text-align: center;
font-size: 12px;
}
.back-button {
position: fixed;
top: 15px;
right: 15px;
background-color: #007cba;
color: white;
border: none;
border-radius: 50%;
width: 35px;
height: 35px;
cursor: pointer;
font-size: 16px;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
}
.back-button:hover {
background-color: #005a87;
}
code {
background-color: #f1f3f4;
padding: 2px 6px;
border-radius: 3px;
font-family: monospace;
font-size: 13px;
}
.feature-list {
list-style: none;
padding: 0;
}
.feature-list li {
margin: 8px 0;
padding-left: 25px;
position: relative;
}
.feature-list li:before {
content: "✓";
position: absolute;
left: 0;
color: #28a745;
font-weight: bold;
}
.troubleshoot {
background-color: #f8d7da;
border: 1px solid #f5c6cb;
border-radius: 5px;
padding: 12px;
margin: 15px 0;
}
.troubleshoot-title {
font-weight: bold;
color: #721c24;
margin-bottom: 5px;
}
/* Responsive design */
@media (max-width: 768px) {
body {
width: 95vw;
min-width: unset;
padding: 10px;
}
.container {
padding: 20px;
margin: 0;
border-radius: 0;
box-shadow: none;
}
}
/* Dark mode overrides */
body.dark-mode {
background-color: #121212;
color: #e5e5e5;
}
body.dark-mode .container {
background-color: #1c1c1c;
box-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
body.dark-mode .header {
border-color: #299fe3;
}
body.dark-mode h1 {
color: #4ecbff;
}
body.dark-mode .subtitle {
color: #b0b0b0;
}
body.dark-mode h2 {
color: #4ecbff;
border-color: #299fe3;
}
body.dark-mode h3 {
color: #e5e5e5;
}
body.dark-mode .step {
background-color: #1f2933;
border-color: #2c3b47;
}
body.dark-mode .platform-item {
background-color: #1f2933;
border-color: #2c3b47;
color: #e5e5e5;
}
body.dark-mode .step-number {
background-color: #299fe3;
color: #0b1720;
}
body.dark-mode .warning {
background-color: rgba(255, 193, 7, 0.18);
border-color: rgba(255, 193, 7, 0.38);
}
body.dark-mode .warning-title {
color: #ffd369;
}
body.dark-mode .info {
background-color: rgba(13, 110, 253, 0.12);
border-color: rgba(13, 110, 253, 0.35);
}
body.dark-mode .info-title {
color: #9ad5ff;
}
body.dark-mode .troubleshoot {
background-color: rgba(220, 53, 69, 0.15);
border-color: rgba(220, 53, 69, 0.4);
}
body.dark-mode .troubleshoot-title {
color: #ffb5bc;
}
body.dark-mode .back-button {
background-color: #299fe3;
color: #071016;
}
body.dark-mode code {
background-color: #1f2933;
color: #e5e5e5;
}
body.dark-mode a {
color: #5fceff;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>SHIFT Code Manager</h1>
<div class="subtitle">User Guide & Help</div>
</div>
<h2>🚀 Getting Started</h2>
<div class="step">
<span class="step-number">1</span>
<strong>Select Your Game & Platform</strong><br>
Choose your Borderlands game and preferred platform from the dropdowns in the Main tab.
<div class="platform-grid">
<div class="platform-item">Steam</div>
<div class="platform-item">PlayStation</div>
<div class="platform-item">Xbox Live</div>
<div class="platform-item">Epic Games</div>
<div class="platform-item">Nintendo</div>
<div class="platform-item">Stadia</div>
</div>
<p>Supports: <strong>Borderlands 4</strong>, <strong>Wonderlands</strong>, <strong>Borderlands 3</strong>, <strong>The Pre-Sequel</strong>, <strong>Borderlands 2</strong>, and <strong>GOTY Edition</strong>.</p>
</div>
<div class="step">
<span class="step-number">2</span>
<strong>Fetch New Codes</strong><br>
Click "Fetch codes" to automatically search for the latest SHIFT codes from reliable sources.
</div>
<div class="step">
<span class="step-number">3</span>
<strong>Log Into SHIFT Website</strong><br>
Ensure you are logged into <a href="https://shift.gearboxsoftware.com" target="_blank">shift.gearboxsoftware.com</a> in the same browser session.
</div>
<div class="step">
<span class="step-number">4</span>
<strong>Redeem Codes</strong><br>
Click "Redeem Codes" to automatically submit all new codes. The extension will handle the process, waiting between codes to respect rate limits.
</div>
<h2>🔔 Notifications & Settings</h2>
<div class="step">
<span class="step-number">⚙️</span>
<strong>Settings Tab</strong><br>
<ul>
<li><strong>Custom URLs:</strong> Manage sources for code scraping</li>
<li><strong>Timing Settings:</strong> Modify delays and intervals for code fetching and redemption</li>
<li><strong>Dark Mode:</strong> Toggle the visual theme</li>
<li><strong>Notifications:</strong> Manage notification preferences and source polling frequency</li>
<li><strong>Settings Backup:</strong> Manage backup and restore of your settings</li>
<li><strong>Diagnostics:</strong> View and manage the history of all processed codes</li>
</ul>
</div>
<h2>🔧 Troubleshooting</h2>
<div class="troubleshoot">
<div class="troubleshoot-title">Common Issues</div>
<ul>
<li><strong>Login Required:</strong> If redemption fails, check that you are still logged into the SHIFT website.</li>
<li><strong>Rate Limiting:</strong> Use the "Code Delay" setting (default 5s) to prevent blocking.</li>
<li><strong>Missing Elements:</strong> If the extension looks wrong, try reloading the extension or clearing browser cache.</li>
</ul>
</div>
<div class="warning">
<div class="warning-title">Important Note</div>
This extension runs locally on your machine. No data is sent to external servers other than the configured code sources and the official SHIFT website.
</div>
<h2>📞 Need Help?</h2>
<p>Check the <a href="https://github.com/maartyman/shift-code-manager" target="_blank">GitHub repository</a> for updates, bug reports, and more info.</p>
</div>
<script src="help.js"></script>
</body>
</html>