This commit is contained in:
Kai Hendry
2012-12-09 15:21:07 +08:00
parent b70ba9ff5f
commit f873fd8222
3 changed files with 6 additions and 2 deletions

View File

@@ -5,7 +5,6 @@
<title>Grepping twitter backup</title>
<meta content="width=device-width, initial-scale=1,maximum-scale=1.0;" name=viewport>
<link rel="icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="http://a0.twimg.com/profile_images/1206037111/greptweet.png">
<link rel="stylesheet" href="/bootstrap/docs/assets/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="/style.css">
</head>

View File

@@ -53,6 +53,11 @@ $(document).ready(function() {
NAME = window.location.pathname.split('/')[2];
$("#name").html(NAME);
appletouchicon = document.createElement('link');
appletouchicon.setAttribute("rel", "apple-touch-icon");
appletouchicon.setAttribute("href", "https://api.twitter.com/1/users/profile_image?screen_name=" + NAME + "&size=bigger");
document.getElementsByTagName("head")[0].appendChild(appletouchicon);
$("input[type=search]").change(function() {
query = this.value;
window.location.hash = query;