
@ -1,6 +0,0 @@
|
||||
{ |
||||
"main.css": "static/css/main.bd0e90d2.css", |
||||
"main.css.map": "static/css/main.bd0e90d2.css.map", |
||||
"main.js": "static/js/main.25281eb0.js", |
||||
"main.js.map": "static/js/main.25281eb0.js.map" |
||||
} |
Before Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 1.6 KiB |
@ -1 +0,0 @@
|
||||
<!doctype html><html lang="de"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/manifest.json"><link rel="shortcut icon" href="/icon32.png"><link rel="stylesheet" href="https://netzbegruenung.github.io/webfonts/style.css"><link rel="stylesheet" href="https://unpkg.com/ionicons@4.4.3/dist/css/ionicons.min.css"><title>Green Spider: Websites von Bündnis 90/Die Grünen besser machen</title><link rel="apple-touch-icon" href="icon32.png"><link rel="apple-touch-icon" sizes="32x32" href="icon32.png"><link rel="apple-touch-icon" sizes="128x128" href="icon128.png"><link href="/static/css/main.bd0e90d2.css" rel="stylesheet"></head><body><noscript>JavaScript muss aktiviert sein, um diese Anwendung nutzen zu können.</noscript><div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 header border-bottom box-shadow"><h5 class="my-0 mr-md-auto"><a href="/">Green Spider</a></h5><nav class="my-2 my-md-0 mr-md-3"><span id="status" class="p-2">Lade Daten...</span> <a class="p-2 text-light" href="https://github.com/netzbegruenung/green-spider/"><i class="ion-logo-github"></i> GitHub</a> <a class="p-2 text-light" href="https://blog.netzbegruenung.de/projekte/green-spider/"><i class="ion-md-information-circle"></i> Über</a></nav></div><div id="root" class="container"></div><script type="text/javascript" src="/static/js/main.25281eb0.js"></script></body></html> |
@ -1,20 +0,0 @@
|
||||
{ |
||||
"short_name": "Green Spider", |
||||
"name": "Websites von Bündnis 90/Die Grünen besser machen", |
||||
"icons": [ |
||||
{ |
||||
"src": "icon32.png", |
||||
"sizes": "32x32 24x24 16x16", |
||||
"type": "image/png" |
||||
}, |
||||
{ |
||||
"src": "icon128.png", |
||||
"sizes": "64x64 96x96 128x128", |
||||
"type": "image/png" |
||||
} |
||||
], |
||||
"start_url": "./index.html", |
||||
"display": "standalone", |
||||
"theme_color": "#000000", |
||||
"background_color": "#ffffff" |
||||
} |
@ -1 +0,0 @@
|
||||
"use strict";var precacheConfig=[["/index.html","d164db3170cce8039914bba3c4b83cd4"],["/static/css/main.bd0e90d2.css","c1e16df0a41e2e38c8db65669b199311"],["/static/js/main.25281eb0.js","0b934e303bb6d8dd21866d51dce7078a"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(t){return t.redirected?("body"in t?Promise.resolve(t.body):t.blob()).then(function(e){return new Response(e,{headers:t.headers,status:t.status,statusText:t.statusText})}):Promise.resolve(t)},createCacheKey=function(e,t,n,r){var a=new URL(e);return r&&a.pathname.match(r)||(a.search+=(a.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),a.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,n){var t=new URL(e);return t.hash="",t.search=t.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(t){return n.every(function(e){return!e.test(t[0])})}).map(function(e){return e.join("=")}).join("&"),t.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],r=new URL(t,self.location),a=createCacheKey(r,hashParamName,n,/\.\w{8}\./);return[r.toString(),a]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(r){return setOfCachedUrls(r).then(function(n){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!n.has(t)){var e=new Request(t,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+t+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return r.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var n=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(t){return t.keys().then(function(e){return Promise.all(e.map(function(e){if(!n.has(e.url))return t.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(t){if("GET"===t.request.method){var e,n=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),r="index.html";(e=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,r),e=urlsToCacheKeys.has(n));var a="/index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(n=new URL(a,self.location).toString(),e=urlsToCacheKeys.has(n)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',t.request.url,e),fetch(t.request)}))}}),importScripts("/serviceWorkerAddon.js"); |
@ -1,40 +0,0 @@
|
||||
/** |
||||
* Will be imported into our service worker |
||||
*/ |
||||
|
||||
|
||||
self.addEventListener('fetch', function(event) { |
||||
var shouldRespond = false; |
||||
if (event.request.method === 'GET') { |
||||
// icon
|
||||
if (event.request.url.indexOf('/siteicons/') !== -1) { |
||||
shouldRespond = true; |
||||
} |
||||
|
||||
// webfonts
|
||||
else if (event.request.url.indexOf('https://netzbegruenung.github.io') !== -1) { |
||||
shouldRespond = true; |
||||
} |
||||
|
||||
// ionicons
|
||||
else if (event.request.url.indexOf('https://unpkg.com/ionicons') !== -1) { |
||||
shouldRespond = true; |
||||
} |
||||
|
||||
// If shouldRespond was set to true at any point, then call
|
||||
// event.respondWith(), using the appropriate cache key.
|
||||
if (shouldRespond) { |
||||
event.respondWith( |
||||
caches.open(cacheName).then(function(cache) { |
||||
return cache.match(urlsToCacheKeys.get(event.request.url)).then(function(response) { |
||||
return response || fetch(event.request).then(function(response) { |
||||
console.log("Fetching and caching resource", event.request.url); |
||||
cache.put(event.request, response.clone()); |
||||
return response; |
||||
}); |
||||
}); |
||||
}) |
||||
); |
||||
} |
||||
} |
||||
}); |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 570 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 8.0 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 846 B |
Before Width: | Height: | Size: 686 B |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 98 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 597 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 918 B |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 610 B |
Before Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 964 B |
Before Width: | Height: | Size: 822 B |
Before Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 836 B |
Before Width: | Height: | Size: 1.1 KiB |