Minor fixes
This commit is contained in:
parent
b8223a87ad
commit
41a12abf14
|
@ -376,9 +376,9 @@ function createMenus(browser)
|
||||||
|
|
||||||
/* Not supported by Chrome */
|
/* Not supported by Chrome */
|
||||||
if (browser.menus.onShown)
|
if (browser.menus.onShown)
|
||||||
title = 'Disable gPass for this website';
|
title = 'Disable form\'s hook for this website';
|
||||||
else
|
else
|
||||||
title = 'Disable or enable gPass for this website';
|
title = 'Disable or enable form\'s hook for this website';
|
||||||
|
|
||||||
/* Enable/disable */
|
/* Enable/disable */
|
||||||
browser.menus.create({
|
browser.menus.create({
|
||||||
|
@ -389,9 +389,9 @@ function createMenus(browser)
|
||||||
|
|
||||||
/* Not supported by Chrome */
|
/* Not supported by Chrome */
|
||||||
if (browser.menus.onShown)
|
if (browser.menus.onShown)
|
||||||
title = 'Disable gPass for ALL websites';
|
title = 'Disable form\'s hook for ALL websites';
|
||||||
else
|
else
|
||||||
title = 'Disable or enable gPass for ALL websites';
|
title = 'Disable or enable form\'s hook for ALL websites';
|
||||||
|
|
||||||
/* Always enable/disable */
|
/* Always enable/disable */
|
||||||
browser.menus.create({
|
browser.menus.create({
|
||||||
|
|
|
@ -219,6 +219,7 @@ function on_sumbit(e)
|
||||||
if (!password_computed)
|
if (!password_computed)
|
||||||
{
|
{
|
||||||
debug("No password computed");
|
debug("No password computed");
|
||||||
|
if (form.submit)
|
||||||
form.submit();
|
form.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -242,6 +243,7 @@ function set_password(form, field, password, do_submit)
|
||||||
evt.which = 13;
|
evt.which = 13;
|
||||||
field.dispatchEvent(evt);
|
field.dispatchEvent(evt);
|
||||||
// Submit form
|
// Submit form
|
||||||
|
if (form.submit)
|
||||||
form.submit();
|
form.submit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
"name": "gPass",
|
"name": "gPass",
|
||||||
"short_name": "gPass",
|
"short_name": "gPass",
|
||||||
"version": "1.2",
|
"version": "1.3",
|
||||||
"description": "gPass : global password manager",
|
"description": "gPass : global password manager",
|
||||||
"icons" : {"16":"icons/gpass_icon_16.png", "32":"icons/gpass_icon_32.png", "64":"icons/gpass_icon_64.png", "128":"icons/gpass_icon_128.png"},
|
"icons" : {"16":"icons/gpass_icon_16.png", "32":"icons/gpass_icon_32.png", "64":"icons/gpass_icon_64.png", "128":"icons/gpass_icon_128.png"},
|
||||||
"author" : "Grégory Soutadé",
|
"author" : "Grégory Soutadé",
|
||||||
"homepage_url" : "http://indefero.soutade.fr/p/gpass",
|
"homepage_url" : "https://forge.soutade.fr/soutade/gPass",
|
||||||
|
|
||||||
"content_scripts": [
|
"content_scripts": [
|
||||||
{
|
{
|
||||||
|
|
|
@ -180,7 +180,6 @@ function _query_tabs_init(tabs)
|
||||||
url += '&user=' + document.getElementById("gPassUsername").value;
|
url += '&user=' + document.getElementById("gPassUsername").value;
|
||||||
var link = document.getElementById("serverLink");
|
var link = document.getElementById("serverLink");
|
||||||
link.href = url;
|
link.href = url;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
"name": "gPass",
|
"name": "gPass",
|
||||||
"short_name": "gPass",
|
"short_name": "gPass",
|
||||||
"version": "1.1",
|
"version": "1.3",
|
||||||
"description": "gPass : global password manager",
|
"description": "gPass : global password manager",
|
||||||
"icons" : {"16":"icons/gpass_icon_16.png", "32":"icons/gpass_icon_32.png", "64":"icons/gpass_icon_64.png", "128":"icons/gpass_icon_128.png"},
|
"icons" : {"16":"icons/gpass_icon_16.png", "32":"icons/gpass_icon_32.png", "64":"icons/gpass_icon_64.png", "128":"icons/gpass_icon_128.png"},
|
||||||
"author" : "Grégory Soutadé",
|
"author" : "Grégory Soutadé",
|
||||||
"homepage_url" : "http://indefero.soutade.fr/p/gpass",
|
"homepage_url" : "https://forge.soutade.fr/soutade/gPass",
|
||||||
|
|
||||||
"content_scripts": [
|
"content_scripts": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user