parent
78680fac49
commit
a0af8e31a5
@ -19,6 +19,9 @@ storage.get("extract", function(resp) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
urlInput.addEventListener("blur", function(e) {
|
urlInput.addEventListener("blur", function(e) {
|
||||||
|
if (this.value.endsWith("/")) {
|
||||||
|
this.value = this.value.substring(0, this.value.length - 1);
|
||||||
|
}
|
||||||
var value = this.value;
|
var value = this.value;
|
||||||
storage.set({ url: value }, function() {
|
storage.set({ url: value }, function() {
|
||||||
message.textContent = ext.i18n.getMessage("URLChanged");
|
message.textContent = ext.i18n.getMessage("URLChanged");
|
||||||
|
Loading…
Reference in New Issue
Block a user