Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
quiz1 /
node_modules /
workbox-recipes /
[ HOME SHELL ]
Name
Size
Permission
Action
build
[ DIR ]
dr-xr-xr-x
src
[ DIR ]
dr-xr-xr-x
LICENSE
1.03
KB
-rw-rw-rw-
README.md
116
B
-rw-rw-rw-
_version.d.ts
0
B
-rw-rw-rw-
_version.js
92
B
-rw-rw-rw-
_version.mjs
71
B
-rw-rw-rw-
googleFontsCache.d.ts
813
B
-rw-rw-rw-
googleFontsCache.js
2.13
KB
-rw-rw-rw-
googleFontsCache.mjs
38
B
-rw-rw-rw-
imageCache.d.ts
1.21
KB
-rw-rw-rw-
imageCache.js
2.2
KB
-rw-rw-rw-
imageCache.mjs
32
B
-rw-rw-rw-
index.d.ts
747
B
-rw-rw-rw-
index.js
662
B
-rw-rw-rw-
index.mjs
27
B
-rw-rw-rw-
offlineFallback.d.ts
830
B
-rw-rw-rw-
offlineFallback.js
2.41
KB
-rw-rw-rw-
offlineFallback.mjs
37
B
-rw-rw-rw-
package.json
931
B
-rw-rw-rw-
pageCache.d.ts
1.04
KB
-rw-rw-rw-
pageCache.js
1.9
KB
-rw-rw-rw-
pageCache.mjs
31
B
-rw-rw-rw-
staticResourceCache.d.ts
1.07
KB
-rw-rw-rw-
staticResourceCache.js
1.95
KB
-rw-rw-rw-
staticResourceCache.mjs
41
B
-rw-rw-rw-
tsconfig.json
445
B
-rw-rw-rw-
tsconfig.tsbuildinfo
32.75
KB
-rw-rw-rw-
warmStrategyCache.d.ts
479
B
-rw-rw-rw-
warmStrategyCache.js
542
B
-rw-rw-rw-
warmStrategyCache.mjs
39
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : offlineFallback.js
/* Copyright 2020 Google LLC Use of this source code is governed by an MIT-style license that can be found in the LICENSE file or at https://opensource.org/licenses/MIT. */ import { setCatchHandler } from 'workbox-routing/setCatchHandler.js'; import { matchPrecache } from 'workbox-precaching/matchPrecache.js'; import './_version.js'; /** * An implementation of the [comprehensive fallbacks recipe]{@link https://developers.google.com/web/tools/workbox/guides/advanced-recipes#comprehensive_fallbacks}. Be sure to include the fallbacks in your precache injection * * @memberof workbox-recipes * * @param {Object} [options] * @param {string} [options.pageFallback] Precache name to match for pag fallbacks. Defaults to offline.html * @param {string} [options.imageFallback] Precache name to match for image fallbacks. * @param {string} [options.fontFallback] Precache name to match for font fallbacks. */ function offlineFallback(options = {}) { const pageFallback = options.pageFallback || 'offline.html'; const imageFallback = options.imageFallback || false; const fontFallback = options.fontFallback || false; self.addEventListener('install', (event) => { const files = [pageFallback]; if (imageFallback) { files.push(imageFallback); } if (fontFallback) { files.push(fontFallback); } event.waitUntil(self.caches .open('workbox-offline-fallbacks') .then((cache) => cache.addAll(files))); }); const handler = async (options) => { const dest = options.request.destination; const cache = await self.caches.open('workbox-offline-fallbacks'); if (dest === 'document') { const match = (await matchPrecache(pageFallback)) || (await cache.match(pageFallback)); return match || Response.error(); } if (dest === 'image' && imageFallback !== false) { const match = (await matchPrecache(imageFallback)) || (await cache.match(imageFallback)); return match || Response.error(); } if (dest === 'font' && fontFallback !== false) { const match = (await matchPrecache(fontFallback)) || (await cache.match(fontFallback)); return match || Response.error(); } return Response.error(); }; setCatchHandler(handler); } export { offlineFallback };
Close