initial commit

This commit is contained in:
groovecoder
2016-12-15 16:27:05 -06:00
parent f324a0644f
commit 5b753dc146
10 changed files with 180 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

+5
View File
@@ -0,0 +1,5 @@
browser.runtime.sendMessage('message-from-webextension').then(reply=> {
if (reply) {
console.log('response from sdk addon: ', reply.content);
}
});
+36
View File
@@ -0,0 +1,36 @@
{
"manifest_version": 2,
"name": "Containers Experiment",
"version": "0.0.1",
"description": "Containers works by isolating cookie jars using separate origin-attributes defined visually by colored Container Tabs. This add-on is a modified version of the containers feature for Firefox Test Pilot.",
"icons": {
"48": "img/blok-48.png",
"96": "img/blok-96.png"
},
"applications": {
"gecko": {
"id": "testpilot-containers@mozilla.org",
"strict_min_version": "50.0",
"update_url": "https://testpilot.firefox.com/files/containers/updates.json"
}
},
"homepage_url": "https://testpilot.firefox.com/",
"permissions": [
],
"browser_action": {
"browser_style": true,
"default_icon": {
"16": "img/icon-50x50.png",
"32": "img/icon-50x50.png"
},
"default_title": "Containers",
"default_popup": "popup.html"
}
}
+17
View File
@@ -0,0 +1,17 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Containers browserAction Popup</title>
</head>
<body>
<h1>Containers!</h1>
<ul>
<li><a href="#">Personal</a></li>
<li><a href="#">Work</a></li>
<li><a href="#">Banking</a></li>
<li><a href="#">Shopping</a></li>
</ul>
<h3><a href="#">Edit Containers</a></h3>
<script src="js/popup.js"></script>
</body>
</html>