FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
outdated-browser/demo/default.html at develop · outdatedbrowser/outdated-browser · GitHub
outdatedbrowser
/
outdated-browser
Public
Notifications
You must be signed in to change notification settings
Fork
364
Star
3.5k
Code
Issues
36
Pull requests
12
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
outdated-browser
/
demo
/
default.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
74 lines (69 loc) · 2.79 KB
Breadcrumbs
outdated-browser
/
demo
/
default.html
Copy path
File metadata and controls
executable file
·
74 lines (69 loc) · 2.79 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html
>
<
html
lang
="
en
"
>
<
head
>
<
meta
charset
="
utf-8
"
>
<
title
>
Outdated Browser
</
title
>
<
meta
name
="
description
"
content
="
A time saving tool for developers. It detects outdated browsers and advises users to upgrade to a new version.
"
>
<!-- Styles -->
<
link
rel
="
stylesheet
"
href
="
../outdatedbrowser/outdatedbrowser.min.css
"
>
<
link
href
='
http://fonts.googleapis.com/css?family=Open+Sans
'
rel
='
stylesheet
'
type
='
text/css
'
>
<
style
type
="
text/css
"
>
body
{
font-family
:
'Open Sans'
,
sans-serif;
text-align
:
center;
background-color
:
#
fafafa
;
color
:
#
0a0a0a
;
line-height
:
1.5
em
;
}
h1
{
font-size
:
2.6
em
;
line-height
:
2
em
;}
h3
,
h4
{
line-height
:
1
em
;
margin
:
2.5
em
0
-.4
em
0
;
text-transform
:
uppercase;}
h3
span
,
h4
span
{
text-transform
:
none;}
p
{
padding-bottom
:
1
em
;}
p
.
designBy
{
position
:
absolute;
bottom
:
0
;
right
:
1
em
;
font-size
:
.8
em
;}
a
{
color
:
#
0a0a0a
;}
ul
{
list-style-type
:
none;
padding
:
0
;}
</
style
>
</
head
>
<
body
>
<!-- ============= YOUR CONTENT ============= -->
<
h1
>
<
a
href
="
index.html
"
>
Outdated Browser
</
a
>
</
h1
>
<
p
>
Remember: If you can't see the message, it's a good thing! You are using a modern browser :D
</
p
>
<
h3
>
DEFAULT
</
h3
>
<
p
>
bgColor: '#f25648', color: '#ffffff', lowerThan: 'transform' (<IE10), languagePath: 'your_path/outdatedbrowser/lang/en.html'
</
p
>
<
h3
>
What does it look like?
<
span
>
(it may differ in your tests)
</
span
>
</
h3
>
<
ul
>
<
li
>
<
a
href
="
http://cl.ly/Win3
"
>
IE9 - Win7
</
a
>
</
li
>
<
li
>
<
a
href
="
http://cl.ly/WiRz
"
>
IE8 - XP
</
a
>
</
li
>
<
li
>
<
a
href
="
http://cl.ly/Wj3Q
"
>
IE7 - Vista
</
a
>
</
li
>
<
li
>
<
a
href
="
http://cl.ly/WieT
"
>
IE6 - XP
</
a
>
</
li
>
</
ul
>
<
p
class
="
designBy
"
>
by
<
a
href
="
http://www.burocratik.com
"
>
Bürocratik
</
a
>
</
p
>
<!-- ============= Outdated Browser ============= -->
<
div
id
="
outdated
"
>
</
div
>
<!-- javascript includes -->
<
script
src
="
../outdatedbrowser/outdatedbrowser.min.js
"
>
</
script
>
<!-- plugin call -->
<
script
>
//event listener form DOM ready
function
addLoadEvent
(
func
)
{
var
oldonload
=
window
.
onload
;
if
(
typeof
window
.
onload
!=
'function'
)
{
window
.
onload
=
func
;
}
else
{
window
.
onload
=
function
(
)
{
if
(
oldonload
)
{
oldonload
(
)
;
}
func
(
)
;
}
}
}
//call function after DOM ready
addLoadEvent
(
function
(
)
{
outdatedBrowser
(
{
bgColor
:
'#f25648'
,
color
:
'#ffffff'
,
lowerThan
:
'transform'
,
languagePath
:
'../outdatedbrowser/lang/en.html'
}
)
}
)
;
</
script
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL