mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Adding social buttons
This commit is contained in:
parent
306e48522b
commit
39db73a0a8
15
index.html
15
index.html
@ -1,7 +1,7 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>UA-Parser.js</title>
|
||||
<title>UA-Parser.js - JavaScript-based User-Agent Parser</title>
|
||||
<meta name="author" content="Faisalman" />
|
||||
<meta name="description" content="Small script to extract system info (browser, engine, os) from user-agent string" />
|
||||
<meta name="keywords" content="user agent, parser, javascript, detect, details, new, browser, engine, mobile, device, operating system" />
|
||||
@ -17,12 +17,13 @@
|
||||
body {
|
||||
background: #fff;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
padding: 20px 20px;
|
||||
width: 960px;
|
||||
text-align: center;
|
||||
}
|
||||
header, section, footer {
|
||||
padding: 40px 0 0;
|
||||
position: relative;
|
||||
}
|
||||
h1 {
|
||||
margin-bottom: 10px;
|
||||
@ -55,6 +56,9 @@
|
||||
select, input {
|
||||
width: 100%;
|
||||
}
|
||||
hr {
|
||||
margin: 20px 0;
|
||||
}
|
||||
p {
|
||||
margin: 10px 0;
|
||||
}
|
||||
@ -95,6 +99,13 @@
|
||||
<input type="text" />
|
||||
</section>
|
||||
<footer>
|
||||
<g:plusone size="medium"></g:plusone>
|
||||
<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>
|
||||
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="fyzlmn">Tweet</a>
|
||||
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
|
||||
<a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php" style="position:absolute;top:40px;">Share</a>
|
||||
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
|
||||
<hr />
|
||||
<p>
|
||||
UA-Parser.js © 2012 Faisalman - GPLv2 @
|
||||
<a href="https://github.com/faisalman/ua-parser-js">https://github.com/faisalman/ua-parser-js</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user