Skip to content

Commit

Permalink
sw不再缓存mp3
Browse files Browse the repository at this point in the history
  • Loading branch information
bitcookies committed Aug 8, 2024
1 parent 88b868d commit 6c68719
Show file tree
Hide file tree
Showing 9 changed files with 193 additions and 186 deletions.
44 changes: 21 additions & 23 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@
<!-- Color CSS Define -->
<style id="switch-theme-color"></style>

<!-- Add PWA Support -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#FFE8E6">
<link rel="manifest" href="manifest.json">
<script type="text/javascript">
if (navigator.serviceWorker != null) {
navigator.serviceWorker.register('sw.js')
.then(function(registration) {
console.log('Registered events at scope: ', registration.scope);
});
}
</script>

<!-- Loading -->
<script>
function loading() {
Expand Down Expand Up @@ -46,19 +59,6 @@
}
</script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-137231556-1"></script>
<script>
window.dataLayer = window.dataLayer || [];

function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());

gtag('config', 'UA-137231556-1');
</script>

<!-- Facebook and Twitter integration -->
<meta property="og:title" content="关于小喵心语" />
<meta property="og:image" content="http://cattalk.nousbuild.org/assets/images/cattalk-logo.jpg" />
Expand All @@ -82,17 +82,15 @@
<!-- Modernizr JS -->
<script src="assets/js/modernizr-2.6.2.min.js"></script>

<!-- Add PWA Support -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#FFE8E6">
<link rel="manifest" href="manifest.json">
<script type="text/javascript">
if (navigator.serviceWorker != null) {
navigator.serviceWorker.register('sw.js')
.then(function(registration) {
console.log('Registered events at scope: ', registration.scope);
});
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-137231556-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-137231556-1');
</script>

</head>
Expand Down
10 changes: 10 additions & 0 deletions assets/js/lozad.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 22 additions & 24 deletions e1.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@
<!-- Color CSS Define -->
<style id="switch-theme-color"></style>

<!-- Add PWA Support -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#FFE8E6">
<link rel="manifest" href="manifest.json">
<script type="text/javascript">
if (navigator.serviceWorker != null) {
navigator.serviceWorker.register('sw.js')
.then(function(registration) {
console.log('Registered events at scope: ', registration.scope);
});
}
</script>

<!-- Loading -->
<script>
function loading() {
Expand Down Expand Up @@ -50,19 +63,6 @@
}
</script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-137231556-1"></script>
<script>
window.dataLayer = window.dataLayer || [];

function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());

gtag('config', 'UA-137231556-1');
</script>

<!-- Facebook and Twitter integration -->
<meta property="og:title" content="番外第一话:去烧烤吧" />
<meta property="og:image" content="http://cattalk.nousbuild.org/assets/images/cattalk-logo.jpg" />
Expand Down Expand Up @@ -90,19 +90,17 @@
<script src="assets/js/modernizr-2.6.2.min.js"></script>

<!-- Lozad JS -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/lozad/dist/lozad.min.js"></script>
<script type="text/javascript" src="assets/js/lozad.min.js"></script>

<!-- Add PWA Support -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#FFE8E6">
<link rel="manifest" href="manifest.json">
<script type="text/javascript">
if (navigator.serviceWorker != null) {
navigator.serviceWorker.register('sw.js')
.then(function(registration) {
console.log('Registered events at scope: ', registration.scope);
});
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-137231556-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-137231556-1');
</script>

</head>
Expand Down
42 changes: 20 additions & 22 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@
<!-- Color CSS Define -->
<style id="switch-theme-color"></style>

<!-- Add PWA Support -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#FFE8E6">
<link rel="manifest" href="manifest.json">
<script type="text/javascript">
if (navigator.serviceWorker != null) {
navigator.serviceWorker.register('sw.js')
.then(function(registration) {
console.log('Registered events at scope: ', registration.scope);
});
}
</script>

<!-- Loading -->
<script>
function loading() {
Expand Down Expand Up @@ -50,19 +63,6 @@
}
</script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-137231556-1"></script>
<script type="text/javascript">
window.dataLayer = window.dataLayer || [];

function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());

gtag('config', 'UA-137231556-1');
</script>

<!-- Facebook and Twitter integration -->
<meta property="og:title" content="小喵心语 CatTalk" />
<meta property="og:image" content="http://cattalk.nousbuild.org/assets/images/cattalk-logo.jpg" />
Expand All @@ -86,17 +86,15 @@
<!-- Modernizr JS -->
<script src="assets/js/modernizr-2.6.2.min.js"></script>

<!-- Add PWA Support -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#FFE8E6">
<link rel="manifest" href="manifest.json">
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-137231556-1"></script>
<script type="text/javascript">
if (navigator.serviceWorker != null) {
navigator.serviceWorker.register('sw.js')
.then(function(registration) {
console.log('Registered events at scope: ', registration.scope);
});
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-137231556-1');
</script>

</head>
Expand Down
46 changes: 22 additions & 24 deletions s1.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@
<!-- Color CSS Define -->
<style id="switch-theme-color"></style>

<!-- Add PWA Support -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#FFE8E6">
<link rel="manifest" href="manifest.json">
<script type="text/javascript">
if (navigator.serviceWorker != null) {
navigator.serviceWorker.register('sw.js')
.then(function(registration) {
console.log('Registered events at scope: ', registration.scope);
});
}
</script>

<!-- Loading -->
<script>
function loading() {
Expand Down Expand Up @@ -50,19 +63,6 @@
}
</script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-137231556-1"></script>
<script>
window.dataLayer = window.dataLayer || [];

function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());

gtag('config', 'UA-137231556-1');
</script>

<!-- Facebook and Twitter integration -->
<meta property="og:title" content="第一话:碟中谍一线生机" />
<meta property="og:image" content="http://cattalk.nousbuild.org/assets/images/cattalk-logo.jpg" />
Expand Down Expand Up @@ -90,19 +90,17 @@
<script src="assets/js/modernizr-2.6.2.min.js"></script>

<!-- Lozad JS -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/lozad/dist/lozad.min.js"></script>
<script type="text/javascript" src="assets/js/lozad.min.js"></script>

<!-- Add PWA Support -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#FFE8E6">
<link rel="manifest" href="manifest.json">
<script type="text/javascript">
if (navigator.serviceWorker != null) {
navigator.serviceWorker.register('sw.js')
.then(function(registration) {
console.log('Registered events at scope: ', registration.scope);
});
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-137231556-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-137231556-1');
</script>

</head>
Expand Down
46 changes: 22 additions & 24 deletions s2.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@
<!-- Color CSS Define -->
<style id="switch-theme-color"></style>

<!-- Add PWA Support -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#FFE8E6">
<link rel="manifest" href="manifest.json">
<script type="text/javascript">
if (navigator.serviceWorker != null) {
navigator.serviceWorker.register('sw.js')
.then(function(registration) {
console.log('Registered events at scope: ', registration.scope);
});
}
</script>

<!-- Loading -->
<script>
function loading() {
Expand Down Expand Up @@ -50,19 +63,6 @@
}
</script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-137231556-1"></script>
<script>
window.dataLayer = window.dataLayer || [];

function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());

gtag('config', 'UA-137231556-1');
</script>

<!-- Facebook and Twitter integration -->
<meta property="og:title" content="第二话:上课怎能睡觉" />
<meta property="og:image" content="http://cattalk.nousbuild.org/assets/images/cattalk-logo.jpg" />
Expand Down Expand Up @@ -90,19 +90,17 @@
<script src="assets/js/modernizr-2.6.2.min.js"></script>

<!-- Lozad JS -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/lozad/dist/lozad.min.js"></script>
<script type="text/javascript" src="assets/js/lozad.min.js"></script>

<!-- Add PWA Support -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#FFE8E6">
<link rel="manifest" href="manifest.json">
<script type="text/javascript">
if (navigator.serviceWorker != null) {
navigator.serviceWorker.register('sw.js')
.then(function(registration) {
console.log('Registered events at scope: ', registration.scope);
});
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-137231556-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-137231556-1');
</script>

</head>
Expand Down
Loading

0 comments on commit 6c68719

Please sign in to comment.