mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 23:57:50 +01:00
yesh
This commit is contained in:
parent
7cb8ec404a
commit
bd41b300d6
1 changed files with 15 additions and 3 deletions
|
@ -1325,9 +1325,21 @@ links.forEach(link => {
|
||||||
|
|
||||||
<script> // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0-or-later
|
<script> // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0-or-later
|
||||||
|
|
||||||
var cacheVersion = 1;
|
if ('serviceWorker' in navigator) {
|
||||||
|
navigator.serviceWorker.getRegistrations().then(function(registrations) {
|
||||||
|
for (let registration of registrations) {
|
||||||
|
registration.unregister();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
if ('caches' in window) {
|
||||||
|
caches.keys().then(function(cacheNames) {
|
||||||
|
cacheNames.forEach(function(cacheName) {
|
||||||
|
caches.delete(cacheName);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
caches.delete('offline-cache' + cacheVersion)
|
}
|
||||||
</script>
|
</script>
|
||||||
</body >
|
</body >
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue