forked from ThirteenAG/thirteenag.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgta-text.html
More file actions
512 lines (468 loc) · 20.5 KB
/
gta-text.html
File metadata and controls
512 lines (468 loc) · 20.5 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
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="author" content="ThirteenAG" />
<meta http-equiv="cache-control" content="Public" />
<meta property="og:title" content="GTA Text" />
<meta property="og:description" content="GTA text searcher" />
<meta property="og:image" content="https://thirteenag.github.io/img/gtatext.png" />
<meta property="og:url" content="https://thirteenag.github.io/gta-text" />
<meta property="og:site_name" content="GTA Text" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:image" content="https://thirteenag.github.io/img/gtatext.jpg" />
<meta name="twitter:image:alt" content="GTA Text - GTA text searcher" />
<link rel="icon" href="./img/gtatext.svg" />
<link rel="shortcut icon" href="./img/gtatext.svg" />
<title>GTA Text</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Iceland|Pacifico&display=swap" rel="stylesheet" />
<link href="https://cdn.datatables.net/v/bs5/jszip-2.5.0/dt-1.11.3/b-2.1.1/b-colvis-2.1.1/b-html5-2.1.1/datatables.min.css" rel="stylesheet" />
<style>
body {
background: #fefefe url('data:image/svg+xml,\
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" fill-opacity=".03" >\
<rect x="200" width="200" height="200" />\
<rect y="200" width="200" height="200" />\
</svg>');
background-size: 30px 30px;
background-position: 0 0, 15px 15px;
background: url("./img/razor.jpg") no-repeat top center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
.navbar.transparent.navbar-inverse .navbar-inner {
border-width: 0px;
-webkit-box-shadow: 0px 0px;
box-shadow: 0px 0px;
background-color: rgba(0, 0, 0, 0);
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0)));
background-image: -webkit-linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
}
.dt-body-nowrap2 {
white-space: normal;
overflow-wrap: anywhere;
word-break: break-all;
}
.dt-center {
text-align: center;
}
table.dataTable tr td {
height: 36px;
vertical-align: middle;
}
.card {
word-wrap: anywhere;
}
.dt-buttons .btn-secondary {
color: #fff;
background-color: #007bff;
border-color: #007bff;
}
.nav-yellow {
font-family: Pacifico;
color: #ffdd1b;
text-shadow: 0 0 5px #000;
}
.nav-yellow a {
font-family: Iceland;
color: #ffdd1b;
text-shadow: 0 0 5px #000;
}
.nav-yellow a:hover {
color: #e1e5ff;
text-shadow: 0 0px 5px #fff;
}
.dt-button-info {
display: none !important;
}
td.details-control {
background: url("./img/details_open.svg") no-repeat center center;
cursor: pointer;
}
tr.shown td.details-control {
background: url("./img/details_close.svg") no-repeat center center;
}
.dataTables_info {
white-space: pre-wrap !important;
}
</style>
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg transparent navbar-inverse mb-2">
<div class="container">
<a class="navbar-brand nav-yellow" href="#"
style="font-family: Pacifico; color: #FFDD1B; text-shadow: 0 0 5px #000;">GTA Text</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive"
aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ms-auto">
<li class="nav-item nav-yellow">
<a class="nav-link" href="https://thirteenag.github.io/gta-one-liners">GTA One Liners</a>
</li>
<li class="nav-item nav-yellow">
<a class="nav-link" href="https://thirteenag.github.io/wfp">Widescreen Fixes Pack</a>
</li>
<li class="nav-item nav-yellow">
<a class="nav-link"
href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=77JMVFE8N42PE">Donate with
PayPal</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Page Content -->
<div class="container">
<div class="card border-0 shadow my-2">
<div class="card-body">
<ul class="nav nav-pills mb-1 flex-column flex-sm-row text-center" id="pills-tab" role="tablist">
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link active" id="pills-gta1-tab" data-bs-toggle="pill" href="#pills-gta1" role="tab"
aria-controls="pills-gta1" aria-selected="false">Grand Theft Auto</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-gta2-tab" data-bs-toggle="pill" href="#pills-gta2" role="tab"
aria-controls="pills-gta2" aria-selected="false">Grand Theft Auto 2</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-gtaadv-tab" data-bs-toggle="pill" href="#pills-gtaadv" role="tab"
aria-controls="pills-gtaadv" aria-selected="false">Grand Theft Auto Advance</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-gta3-tab" data-bs-toggle="pill" href="#pills-gta3" role="tab"
aria-controls="pills-gta3" aria-selected="false">Grand Theft Auto III</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-gtavc-tab" data-bs-toggle="pill" href="#pills-gtavc" role="tab"
aria-controls="pills-gtavc" aria-selected="false">Grand Theft Auto Vice City</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-gtasa-tab" data-bs-toggle="pill" href="#pills-gtasa" role="tab"
aria-controls="pills-gtasa" aria-selected="false">Grand Theft Auto San Andreas</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-gtalcs-tab" data-bs-toggle="pill" href="#pills-gtalcs" role="tab"
aria-controls="pills-gtalcs" aria-selected="false">Grand Theft Auto Liberty City Stories</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-gtavcs-tab" data-bs-toggle="pill" href="#pills-gtavcs" role="tab"
aria-controls="pills-gtavcs" aria-selected="false">Grand Theft Auto Vice City Stories</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-gtactw-tab" data-bs-toggle="pill" href="#pills-gtactw" role="tab"
aria-controls="pills-gtactw" aria-selected="false">Grand Theft Auto Chinatown Wars</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-gtaiv-tab" data-bs-toggle="pill" href="#pills-gtaiv" role="tab"
aria-controls="pills-gtaiv" aria-selected="false">Grand Theft Auto IV</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-tlad-tab" data-bs-toggle="pill" href="#pills-tlad" role="tab"
aria-controls="pills-tlad" aria-selected="false">GTA IV The Lost and Damned</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-tbogt-tab" data-bs-toggle="pill" href="#pills-tbogt" role="tab"
aria-controls="pills-tbogt" aria-selected="false">GTA IV The Ballad of Gay Tony</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-gtav-tab" data-bs-toggle="pill" href="#pills-gtav" role="tab"
aria-controls="pills-gtav" aria-selected="false">Grand Theft Auto V</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-manhunt-tab" data-bs-toggle="pill" href="#pills-manhunt" role="tab"
aria-controls="pills-manhunt" aria-selected="false">Manhunt</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-manhunt2-tab" data-bs-toggle="pill" href="#pills-manhunt2" role="tab"
aria-controls="pills-manhunt2" aria-selected="false">Manhunt 2</a>
</li>
<li class="nav-item flex-sm-fill text-sm-center">
<a class="nav-link" id="pills-bully-tab" data-bs-toggle="pill" href="#pills-bully" role="tab"
aria-controls="pills-bully" aria-selected="false">Bully</a>
</li>
</ul>
<div class="row">
<div class="col-lg-4 col-lg-offset-4 p-3 m-auto text-center">
<input type="search" id="search" value="" class="form-control" placeholder="Search in all tables" />
</div>
</div>
<div class="tab-content" id="pills-tabContent">
<div class="tab-pane fade show active" id="pills-gta1" role="tabpanel" aria-labelledby="pills-gta1-tab">
<table id="gta1-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-gta2" role="tabpanel" aria-labelledby="pills-gta2-tab">
<table id="gta2-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-gtaadv" role="tabpanel" aria-labelledby="pills-gtaadv-tab">
<table id="gtaadv-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-gta3" role="tabpanel" aria-labelledby="pills-gta3-tab">
<table id="gta3-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-gtavc" role="tabpanel" aria-labelledby="pills-gtavc-tab">
<table id="gtavc-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-gtasa" role="tabpanel" aria-labelledby="pills-gtasa-tab">
<table id="gtasa-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-gtalcs" role="tabpanel" aria-labelledby="pills-gtalcs-tab">
<table id="gtalcs-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-gtavcs" role="tabpanel" aria-labelledby="pills-gtavcs-tab">
<table id="gtavcs-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-gtactw" role="tabpanel" aria-labelledby="pills-gtactw-tab">
<table id="gtactw-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-gtaiv" role="tabpanel" aria-labelledby="pills-gtaiv-tab">
<table id="gtaiv-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-tlad" role="tabpanel" aria-labelledby="pills-tlad-tab">
<table id="tlad-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-tbogt" role="tabpanel" aria-labelledby="pills-tbogt-tab">
<table id="tbogt-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-gtav" role="tabpanel" aria-labelledby="pills-gtav-tab">
<table id="gtav-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-manhunt" role="tabpanel" aria-labelledby="pills-manhunt-tab">
<table id="manhunt-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-manhunt2" role="tabpanel" aria-labelledby="pills-manhunt2-tab">
<table id="manhunt2-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
<div class="tab-pane fade" id="pills-bully" role="tabpanel" aria-labelledby="pills-bully-tab">
<table id="bully-table" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>GXT</th>
<th>SUBTITLE</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript" defer src="vendor/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" defer src="vendor/bootstrap/dist/js/bootstrap.bundle.min.js"
onload="InitTabs();"></script>
<script type="text/javascript" defer
src="https://cdn.datatables.net/v/bs5/jszip-2.5.0/dt-1.11.3/b-2.1.1/b-colvis-2.1.1/b-html5-2.1.1/datatables.min.js"></script>
<script type="text/javascript">
function copyToClipboard(text) {
var copyTest = document.queryCommandSupported("copy");
if (copyTest === true) {
var copyTextArea = document.createElement("textarea");
copyTextArea.value = text;
copyTextArea.setAttribute("type", "hidden");
document.body.appendChild(copyTextArea);
copyTextArea.select();
try {
var successful = document.execCommand("copy");
} catch (err) {
console.log("Oops, unable to copy");
}
document.body.removeChild(copyTextArea);
} else {
// Fallback if browser doesn't support .execCommand('copy')
window.prompt("Copy to clipboard: Ctrl+C or Command+C, Enter", text);
}
}
function Init() {
$.extend(true, $.fn.dataTable.defaults, {
dom: "<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>>p" + "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p<B>>>",
buttons: ["copy", "excel", "csv"],
deferRender: true,
colReorder: false,
responsive: true,
stateSave: true,
columns: [{ className: "dt-body-nowrap2 dt-center", width: "15%" }, { className: "dt-center" }],
drawCallback: function (settings) {
var api = this.api();
api.$("td").click(function () {
copyToClipboard(this.innerText);
});
}
});
$("#search").on("change keyup paste", function () {
$.fn.dataTable
.tables({ visible: false, api: true })
.search(this.value)
.draw();
});
$("#gta1-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/GTA1.json"
});
$("#gta2-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/GTA2.json"
});
$("#gtaadv-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/GTAADVANCE.json"
});
$("#gta3-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/GTA3.json"
});
$("#gtavc-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/GTAVC.json"
});
$("#gtasa-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/GTASA.json"
});
$("#gtalcs-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/GTALCS.json"
});
$("#gtavcs-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/GTAVCS.json"
});
$("#gtactw-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/GTACTW.json"
});
$("#gtaiv-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/GTAIV.json"
});
$("#tlad-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/TLAD.json"
});
$("#tbogt-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/TBOGT.json"
});
$("#gtav-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/GTAV.json"
});
$("#manhunt-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/MANHUNT.json"
});
$("#manhunt2-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/MANHUNT2.json"
});
$("#bully-table").DataTable({
ajax: "https://raw.githubusercontent.com/ThirteenAG/GTA-One-Liners/master/plugins/data/text/BULLY.json"
});
}
document.addEventListener("DOMContentLoaded", Init);
function InitTabs() {
$('a[data-bs-toggle="pill"]').on("shown.bs.tab", function (e) {
$.fn.dataTable.tables({ visible: true, api: true }).columns.adjust();
});
}
</script>
</body>
</html>