Skip to content

Commit 5766722

Browse files
committed
v2.1.1:
* Bugfix if CSE has no %s in URL * Updated Chrome port
1 parent 0935c78 commit 5766722

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

manifest.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "__MSG_extensionName__",
55
"description": "__MSG_extensionDescription__",
66
"author": "Andreas Bielawski",
7-
"version": "2.1.0",
7+
"version": "2.1.1",
88
"icons" : {
99
"16": "icons/16.png",
1010
"32": "icons/32.png",
@@ -23,6 +23,13 @@
2323
"page": "options/options.html",
2424
"open_in_tab": true
2525
},
26+
27+
"applications": {
28+
"gecko": {
29+
"id": "{0da2e603-21ba-4422-8049-b6d9e013ed84}",
30+
"strict_min_version": "48.0"
31+
}
32+
},
2633

2734
"permissions": [
2835
"contextMenus",

options/options.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ function storeSettings() {
4848
toggleCSEform(false);
4949
} else {
5050
toggleCSEform(true);
51-
if (cseForm.value.indexOf("%s") == "-1") {
51+
if (cseForm.value.indexOf("%s") == "-1") { /* no %s in URL! */
5252
toggleCSEform(false);
53+
} else {
54+
var cseProvider = cseForm.value;
5355
}
54-
var cseProvider = cseForm.value;
5556
}
5657
}
5758

0 commit comments

Comments
 (0)