Skip to content

Commit d25a847

Browse files
committed
Added contextMenus permission
Turned tabs into spaces Minor html/css tweaks Improved readme Former-commit-id: e2c583e
1 parent fa6ad54 commit d25a847

File tree

4 files changed

+40
-29
lines changed

4 files changed

+40
-29
lines changed

README.md

+14-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
1-
WebCache
2-
========
1+
#WebCache
32

4-
This is a chrome browser extension that allows the user to view a cached version of the current webpage
3+
This is a chrome browser extension that allows the user to view a cached version of the current web page
54

65
Install this extension here: https://chrome.google.com/webstore/detail/webcache/cmmlgikpahieigpcclckfmhnchdlfnjd
76

8-
Images by Jason Rainbows
7+
#Contributing
98

9+
I explicitly welcome contributions from people who have never contributed to open-source before: we were all beginners once! I can help build on a partially working pull request with the aim of getting it merged. I am also actively seeking to diversify our contributors and especially welcome contributions from women from all backgrounds and people of color. <sup>[1](#References)</sup>
10+
11+
If you're interested in contributing, fork this repo and create a pull request. Please follow the [JavaScript Style Guide](https://github.com/airbnb/javascript).
12+
13+
Thank you to Jason Rainbows for making all of the images
14+
15+
##Version
1016

1117
v3.5.6
18+
19+
##References
20+
21+
1. I used and modified [Homebrew's](https://github.com/Homebrew/brew#contributing) welcoming contributing section.

manifest.json

+23-22
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
{
2-
"manifest_version": 2,
2+
"manifest_version": 2,
33

4-
"name": "WebCache",
5-
"short_name" : "WebCache",
6-
"version": "3.5.6",
7-
"description": "View a cached version of a web page (Google Cache, Wayback Machine, Coral CDN)",
4+
"name": "WebCache",
5+
"short_name" : "WebCache",
6+
"version": "3.5.6",
7+
"description": "View a cached version of a web page (Google Cache, Wayback Machine, Coral CDN)",
88

9-
"browser_action": {
10-
"default_icon": {
11-
"19":"/images/icon.png"
12-
},
13-
"default_title": "Cache Page"
14-
},
9+
"browser_action": {
10+
"default_icon": {
11+
"19":"/images/icon.png"
12+
},
13+
"default_title": "Cache Page"
14+
},
1515

16-
"background": {
17-
"scripts": [
18-
"redirect.js"
19-
]
20-
},
16+
"background": {
17+
"scripts": [
18+
"redirect.js"
19+
]
20+
},
2121

22-
"options_page": "options.html",
22+
"options_page": "options.html",
2323

24-
"permissions": [
25-
"tabs", "http://*/*", "https://*/*",
26-
"webRequest", "webRequestBlocking",
27-
"storage"
28-
]
24+
"permissions": [
25+
"tabs", "http://*/*", "https://*/*",
26+
"webRequest", "webRequestBlocking",
27+
"storage",
28+
"contextMenus"
29+
]
2930
}

options.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ h3 {
160160
}
161161

162162
.setting-definition p {
163-
color: #DA727E;
163+
color: #455C7B;
164164
padding-right: 10px;
165165
}
166166

options.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h3 class="title">WebCache Options</h3>
3333
</div>
3434
</div>
3535
<div class="setting-definition">
36-
<p> Select the checkboxes to add these caches to the right click context menu </p>
36+
<p> Selected caches will appear on the right click context menu </p>
3737
</div>
3838
</div>
3939
<div class="settings-wrapper">
@@ -70,7 +70,7 @@ <h3 class="title">WebCache Options</h3>
7070
</div>
7171
<div class="setting-definition">
7272
<p>DDOS Protection. Would you like for WebCache to automatically detect when a web page is down and
73-
load a cached copy?</p>
73+
load a cached copy? This is still an experimental feature, and you can report issues <a href="https://github.com/Dbz/WebCache/issues">here</a></p>
7474
</div>
7575
</div>
7676
</div>

0 commit comments

Comments
 (0)