Remove popup and add warning message
Change-Id: Icb761381d6b274f1e1f40e3a6b20803fe62b6e72
diff --git a/images/icon-128.png b/images/icon-128.png
new file mode 100644
index 0000000..ff98f82
--- /dev/null
+++ b/images/icon-128.png
Binary files differ
diff --git a/images/icon-32.png b/images/icon-32.png
index 6482708..0771d36 100644
--- a/images/icon-32.png
+++ b/images/icon-32.png
Binary files differ
diff --git a/manifest.json b/manifest.json
index 05a4dc7..0c3c8e0 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,6 +1,6 @@
{
"name": "Gerrit bug reporter",
- "version": "0.0.1",
+ "version": "0.0.3",
"manifest_version": 2,
"description": "Pre-popupate gerrit bug reports with screenshots",
"icons": {
diff --git a/popup.html b/popup.html
index 67f30fe..e761056 100644
--- a/popup.html
+++ b/popup.html
@@ -30,6 +30,7 @@
<p>Description<textarea id="description"
placeholder="Include all repro steps and browser/OS if applicable"></textarea>
</p>
+ <p>Do not include any sensitive information in your screenshot.</p>
<button id="screenshotBtn">Add screenshot</button>
<button id="submitBtn">Pre-populate bug report</button>
<div id="imgContainer"><img id="target"/></div>
diff --git a/popup.js b/popup.js
index 61c51e7..fca611e 100644
--- a/popup.js
+++ b/popup.js
@@ -39,7 +39,7 @@
if (!this.image) {
url = this._computeQueryString(url, queryParams);
this._reset();
- return chrome.tabs.create({url: url}, function(tab){ alert(tab.id) });
+ return chrome.tabs.create({url: url}, function(tab){ return; });
}
// Post image to imgur
@@ -55,7 +55,7 @@
queryParams.description = description;
url = this._computeQueryString(url, queryParams);
this._reset();
- chrome.tabs.create({'url': url}, function(tab){ alert(tab.id) })
+ chrome.tabs.create({'url': url}, function(tab){ return; })
}
}.bind(this)
xhr.setRequestHeader('Authorization', 'Client-ID 2c8d8a8a1a0d4cb')