Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial commit

  • Loading branch information...
commit aa669a70169d3a3e14288fab55f0e21d46303aee 0 parents
@jaytaph authored
14 background.js
@@ -0,0 +1,14 @@
+function onUrlChanged(tabId, changeInfo, tab) {
+
+ chrome.pageAction.setIcon({
+ tabId: tabId,
+ path: "images/check.png"
+ });
+ chrome.pageAction.setPopup({
+ tabId: tabId,
+ popup: 'popup.html#a'
+ })
+ chrome.pageAction.show(tabId);
+}
+
+chrome.tabs.onUpdated.addListener(onUrlChanged);
BIN  images/check.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 manifest.json
@@ -0,0 +1,23 @@
+{
+ "manifest_version" : 2,
+
+ "name" : "TLS Rate",
+ "description" : "Rates your current SSL/TLS connection",
+ "version" : "1.0",
+ "homepage_url" : "http://noxlogic.nl",
+
+ "background": {
+ "scripts": [
+ "background.js"
+ ]
+ },
+
+ "permissions": [
+ ],
+
+ "page_action": {
+ "default_icon" : "images/check.png",
+ "default_title" : "TLS Rate",
+ "default_popup" : "popup.html"
+ }
+}
8 popup.html
@@ -0,0 +1,8 @@
+<html>
+<head>
+ <title>SSL Rate</title>
+</head>
+<body>
+ This is a popup with some information about the current HTTPS connection...
+</body>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.