Skip to content

Commit 0a56b89

Browse files
committed
repo clean up
1 parent 12d2e2e commit 0a56b89

File tree

14 files changed

+134
-1
lines changed

14 files changed

+134
-1
lines changed
2.51 KB
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "Google Reader Lion UI",
3+
"version": "1.5.2",
4+
"manifest_version": 1,
5+
"description": "Inspired by Mac OSX Lion",
6+
"icons": { "128": "icon.png" },
7+
"browser_action": {
8+
"default_icon": "icon.png",
9+
"default_popup": "popup.html",
10+
"default_title": "Google Reader Lion UI"
11+
},
12+
"content_scripts": [
13+
{
14+
"matches": ["http://www.google.com/reader/view/*"],
15+
"css": ["mystyles.css"],
16+
"js": ["jquery.js", "myscript.js"]
17+
}
18+
],
19+
"permissions": [
20+
"http://api.flickr.com/"
21+
]
22+
}
23+
24+
// update_url
25+
// background_page
26+
// page_action
27+
// content scripts
28+
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<title>Getting Started Extension's Popup</title>
5+
<style>
6+
body {
7+
min-width:357px;
8+
overflow-x:hidden;
9+
}
10+
11+
img {
12+
margin:5px;
13+
border:2px solid black;
14+
vertical-align:middle;
15+
width:75px;
16+
height:75px;
17+
}
18+
</style>
19+
20+
<!-- JavaScript and HTML must be in separate files for security. -->
21+
<script src="popup.js"></script>
22+
</head>
23+
<body>
24+
</body>
25+
</html>
+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
5+
var req = new XMLHttpRequest();
6+
req.open(
7+
"GET",
8+
"http://api.flickr.com/services/rest/?" +
9+
"method=flickr.photos.search&" +
10+
"api_key=90485e931f687a9b9c2a66bf58a3861a&" +
11+
"text=hello%20world&" +
12+
"safe_search=1&" + // 1 is "safe"
13+
"content_type=1&" + // 1 is "photos only"
14+
"sort=relevance&" + // another good one is "interestingness-desc"
15+
"per_page=20",
16+
true);
17+
req.onload = showPhotos;
18+
req.send(null);
19+
20+
function showPhotos() {
21+
var photos = req.responseXML.getElementsByTagName("photo");
22+
23+
for (var i = 0, photo; photo = photos[i]; i++) {
24+
var img = document.createElement("image");
25+
img.src = constructImageURL(photo);
26+
document.body.appendChild(img);
27+
}
28+
}
29+
30+
// See: http://www.flickr.com/services/api/misc.urls.html
31+
function constructImageURL(photo) {
32+
return "http://farm" + photo.getAttribute("farm") +
33+
".static.flickr.com/" + photo.getAttribute("server") +
34+
"/" + photo.getAttribute("id") +
35+
"_" + photo.getAttribute("secret") +
36+
"_s.jpg";
37+
}

Diff for: Google Reader Lion UI - Old Google Bar.safariextz

-71.2 KB
Binary file not shown.

Diff for: Google Reader Lion UI.safariextension/Info.plist renamed to Safari/Google Reader Lion UI.safariextension/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>Author</key>
66
<string>Allen Bargi</string>
77
<key>Builder Version</key>
8-
<string>7534.57.2</string>
8+
<string>7536.16</string>
99
<key>CFBundleDisplayName</key>
1010
<string>Google Reader Lion UI</string>
1111
<key>CFBundleIdentifier</key>

Diff for: gmail-wip.css renamed to misc/gmail-wip.css

File renamed without changes.

Diff for: gmail2-wip.css renamed to misc/gmail2-wip.css

File renamed without changes.

Diff for: misc/gplus-wip.css

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/*
2+
1. video titles
3+
2. link title and descriptions
4+
3. comments
5+
*/
6+
7+
8+
/*== TYPOGRAPHY */
9+
* {
10+
font-family: "open sans" !important;
11+
}
12+
13+
/*== RTL */
14+
[dir="rtl"] {
15+
text-align: right !important;
16+
direction: rtl !important;
17+
}
18+
19+
.XF [dir="rtl"], .YF [dir="rtl"], .ot-anchor [dir="rtl"], .Ju [dir="rtl"] {
20+
display: block !important;
21+
float: right !important;
22+
}
23+
24+
/*== GoogleBar */
25+
#gbx3, #gbzw {
26+
display: none !important;
27+
}
28+
29+
#gbx1, #gb #gbx1, #gbq, #gbu, #gb #gbq, #gb #gbu {
30+
top: 0 !important;
31+
}
32+
33+
#gb {
34+
height: 66px !important;
35+
}
36+
37+
.Dob {
38+
height: 72px !important;
39+
}
40+
41+
.Hoa.n0b.RWa {
42+
top: 120px !important;
43+
}

0 commit comments

Comments
 (0)