-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chrome plugin that can convert current URL into QR code.
- Loading branch information
1 parent
1b3f75f
commit 9b37062
Showing
10 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCtiOPBDTvcBtzOp | ||
qvoc5Fcta5XWKvt40L96wp9AeLwpukuSDp5zt2be9Mz8kifHt9VUwacJVX94jmMIj | ||
BETOIYy5nEYJYOfHY/QU0gYwKfE27qVfncDwFNXIqTBJNdVeaD4GMROF5NFzSVPB2 | ||
N33WLMUkPSXHllxOVEd6nr3WCJdHh3RddNE4bLwu4L8lJmqlIayInJYz9GBWDI+D4 | ||
YGTGKYVkVzopZDNlDOW0HJIgnEDZoZ3qlSVf9tbSymcjzn/UUAtI8/nWl007abQNp | ||
M7UDqGY/4B6F8llXtk66/DLQa8oofizG41TCMb7TjdLXCDnMrj+rmR4idqYkkXPJB | ||
PtAgMBAAECggEAC/SJVEx4GkFyxt3erAYCNrPhjezy81Gb1OhzcYdGvjORjvm05Z1 | ||
l0Qdn1oVTkXrMAhHVO76qvPHv6wKT9rChRvoH3uqUi+zxLIxwJtILZTAujQBdVVbH | ||
TTAZ7+T5zg1T8zPrP0112bPGkJ1yn8qMS4mase3qZdnRpIx1nXHOE6gwRxnrg6nQD | ||
OeccGGJ4qUAlKXYMCLr9jFS5JLCeA5tuRzp4jD3NteAzSptch+S+LzqUdKPUiaYRj | ||
tYz6SS6xud6swrOnOWXSmHyd9Yj6UpkebSY7iNgrWYm7i0AQGB/blypOSxKUSdkIc | ||
qTSivPHECsgyQwn6T414kYdJ6T7MwtQKBgQDeYXGKIydeNOQJrAFH2ctg4b7FmpJx | ||
ajY2TAvNZTgOIkUnUClTy7H/mZY5EKzQZZYkb3hicy4ed2uruboRzrIFno/PuXfXm | ||
9hQ7jaghrctOj1lBm8pGWRwAtfWXlNHtOwRiGD9DNZVCF5HglDqhdDPcM0JMvNJws | ||
popfqiMuFydwKBgQDHxQQKGoHBTuxpwIuXe42ODGIJiqP/q8HjarXtMw6b9BYX72O | ||
95Khp2TqJrhhR9RdJrRLiaESzDx77hvupqcpf4LI58A4leb7f/Ef5VQxLL8Qt20Gg | ||
9ZakGOnMRrWiYiyLSubFOEkHPPW/lPF74dLPGyb8ynbfZ6udRLOkKtUBuwKBgQDQL | ||
vck894CEo+9Ajq8sgb0rsFyqk8YP+96i1ytL2n3yVtl/2SBHvuHJph82cB+4+tYNs | ||
bDm8J8IR46SIgJ7a+5FQTa2W14+lva//dB9nv7qj8ZmZltJ2lgdzjqZamfQp+RllP | ||
98gug1VG1rijkNNwTpy07xGgAEIx+xYvKVsm55wKBgAwVQpVJ3SdQGsSavNbAxmMd | ||
JKDnHdxNC0EyJybdu7h7Hwr7k9Dcj8M3PG8vdJEgffQa39WJ8P3ToFAebgJpHrCF6 | ||
sHOX0ys/HqXy9Ks7j1t+jO721BdCmuKhjmw3TOhNIiIU0UCjog9i6+21pRjqFiWj9 | ||
kideY1Yw/0I9l+LbwZAoGBAL4saKKG3bo8vscDqoSRR5slNUZ6/dVtiVtkdzJ/hR4 | ||
OJZVUmONVxZd7TiEnWOexlPLBJJGkYtOEsOG9crrgvVI/c9m93r/Ho/M6KMOj/fDv | ||
yzodz2GHj/MTEAltdfZz2W30XtZAaaeN8ypLQloVe5ynmbgbwGN1SJDZ6wRFOJWF | ||
-----END PRIVATE KEY----- |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
chrome.tabs.getSelected( null , function ( tab ){ | ||
var url = "http://chart.googleapis.com/chart?cht=qr&chs=300x300&choe=UTF-8&chld=L|1&chl=" + tab.url; | ||
document.querySelector('#qrcode').src = url; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"manifest_version": 2, | ||
"browser_action": { | ||
"default_icon" : "2weima1.png", | ||
"default_title": "Change URL to QR Code!!!", | ||
"default_popup": "popup.html" | ||
}, | ||
"icons":{ | ||
"16": "16.png", | ||
"48": "48.png", | ||
"128":"2weima.png" | ||
}, | ||
"name": "Change URL to QR Code", | ||
"description": "Change URL to QR Code", | ||
"permissions": [ | ||
"tabs", | ||
"http://chart.googleapis.com/chart", | ||
"http://*.g8up.cn/*", | ||
"http://*.g8up.com/*", | ||
"http://*.duxing.org/*", | ||
"notifications" | ||
], | ||
"homepage_url" :"http://weibo.com/liaoziyang288", | ||
"version": "1.2.3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title> qrCode </title> | ||
<meta name="Author" content="Sigma"> | ||
<meta name="Keywords" content="获取当前页面URL的二维码"> | ||
<meta name="Description" content="笃行天下http://www.g8up.cn"> | ||
</head> | ||
<style type="text/css"> | ||
@-webkit-keyframes sigma{ | ||
0% {opacity:0;-webkit-transform:rotate(0deg);} | ||
100% {opacity:1;-webkit-transform:rotate(360deg);} | ||
} | ||
@-webkit-keyframes AuthorInfo{ | ||
0%{opacity: 0;} | ||
100%{opacity: 1;} | ||
} | ||
img{ | ||
-webkit-transform-origin:center; | ||
-webkit-animation:sigma 2s; | ||
} | ||
a{ | ||
text-decoration:none; | ||
color: #D8D8D8; | ||
font-family: 宋体,雅黑,黑体; | ||
font-size: 12px; | ||
float: right; | ||
-webkit-animation:AuthorInfo 3s; | ||
} | ||
</style> | ||
|
||
<body> | ||
<img id="qrcode" width="300" height="300"/> | ||
<a href="http://g8up.cn" target="_blank" title="笃行天下">url2qrcode</a> | ||
|
||
<script src="g8up.cn.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# chrome_url2qrcode | ||
Chrome plugin that can convert current URL into QR code. | ||
|
||
## Chrome | ||
|
||
### Install with source code | ||
|
||
1. Visit `chrome://extensions/` in Chrome | ||
2. Enable the **Developer mode** | ||
3. Click on **Load unpacked extension** | ||
4. Select the folder extension | ||
|
||
### Install with crx file | ||
Select the `crx` file and drop it to `chrome://extensions/` page. |