mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
add browser-update.js
This commit is contained in:
parent
c9cb07fa48
commit
1c4f5c9ff3
|
|
@ -149,6 +149,7 @@ permalink: /
|
|||
{% raw %}
|
||||
{% endraw %}
|
||||
<script src="/static/js/index.js"></script>
|
||||
<script src="/static/js/browser-update.js"></script>
|
||||
</html>
|
||||
<!--
|
||||
vim: ts=2 sts=2 sw=2 noexpandtab
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
var $buoop = {vs:{i:10,f:-4,o:-4,s:8,c:-4},unsecure:true,api:4};
|
||||
function $buo_f(){
|
||||
var e = document.createElement("script");
|
||||
e.src = "//browser-update.org/update.min.js";
|
||||
document.body.appendChild(e);
|
||||
};
|
||||
try {document.addEventListener("DOMContentLoaded", $buo_f,false)}
|
||||
catch(e){window.attachEvent("onload", $buo_f)}
|
||||
Loading…
Reference in New Issue