This repository has been archived by the owner on May 19, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (41 loc) · 2.62 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<script>
// You can Customize here
var $buoop = {
// The default current browser versions. Change only if plugin is out of date.
// vsakt: { i:12, f:50, o:42, s:10, n:20, c:55, y:16.9, v:1.6 },
vs: { i: 10, f: -4, o: -4, s: -2, c: -4 }, // Specifies browser versions to notify. Negative numbers specify how much versions behind current version to notify.
// f:22 ---> Firefox <= 22
// c:-5 ---> Chrome <= 35 if current Chrome version is 40.
reminder: 24, // after how many hours should the message reappear
// 0 = show all the time
reminderClosed: 150, // if the user explicitly closes message it reappears after x hours
onshow: function(infos){}, // callback functions after notification has appeared / was clicked / closed
onclick: function(infos){},
onclose: function(infos){},
l: false, // set a fixed language for the message, e.g. "en". This overrides the default detection.
test: false, // true = always show the bar (for testing)
text: "", // custom notification text (html)
// Placeholders {brow_name} will be replaced with the browser name, {up_but} with contents of the update link tag and {ignore_but} with contents for the ignore link.
// Example: Your browser, {brow_name}, is too old: <a{up_but}>update</a> or <a{ignore_but}>ignore</a>.
text_xx: "", // custom notification text for language "xx"
// e.g. text_de for german and text_it for italian
newwindow: true, // open link in new window/tab
url: null, // the url to go to after clicking the notification
noclose:false, // Do not show the "ignore" button to close the notification
nomessage: false, // Do not show a message if the browser is out of date, just call the onshow callback function
};
</script>
<meta charset="utf-8">
<title>Browser Update</title>
</head>
<body>
<div class="page-container">
<h1>Tadaaaa</h1>
<p>You can change your browser User Agent to make the notification appear.</p>
</div>
<script src="browser-update.js"></script>
</body>
</html>