Skip to content

Commit 67559d0

Browse files
committed
Remaned extension to FormAlert. Fixed a bug where settings did not have defaults if the extension had not been used before or the options page not visited.
1 parent 9fd1c03 commit 67559d0

8 files changed

Lines changed: 14 additions & 15 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
SecureFormExtension
1+
FormAlert Extension
22
===================
33

44
Google Chrome extension that notifies the user when a form containing a password has been loaded using HTTP rather than HTTPS.
55

6-
Find the extension on the Google Chrome Web Store - [Secure Forms Extension](https://chrome.google.com/webstore/detail/secure-forms/kkldikhlioilljdpokfodabmeophmeci?hl=en-US)
6+
Find the extension on the Google Chrome Web Store - [FormAlert Extension](https://chrome.google.com/webstore/detail/secure-forms/kkldikhlioilljdpokfodabmeophmeci?hl=en-US)
77

88
About
99
=====
File renamed without changes.
File renamed without changes.

js/sfe.js renamed to js/fa.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,5 @@ function hideCallout() {
6363
$(document).ready(function(){
6464
chrome.runtime.sendMessage({greeting: 'get_vars'}, function(response) {
6565
processForms(response);
66-
console.log(response);
6766
});
6867
});
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ chrome.runtime.onMessage.addListener(
3939
function(request, sender, sendResponse) {
4040
if (request.greeting == 'get_vars')
4141
sendResponse({
42-
'display_callout': parseBoolean(localStorage['display_callout']),
43-
'display_icon': parseBoolean(localStorage['display_icon']),
44-
'border_color': localStorage['border_color'],
45-
'border_width': localStorage['border_width'],
46-
'border_style': localStorage['border_style']
42+
'display_callout': display_callout,
43+
'display_icon': display_icon,
44+
'border_color': border_color,
45+
'border_width': border_width,
46+
'border_style': border_style
4747
});
4848
}
4949
);
File renamed without changes.

manifest.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"manifest_version": 2,
33

4-
"name": "Secure Forms",
4+
"name": "FormAlert",
55
"description": "Notifies the user when a form containing a password has been loaded using HTTP rather than HTTPS.",
6-
"version": "0.0.2",
6+
"version": "0.0.3",
77

88
"options_page": "options.html",
99

1010
"background": {
11-
"scripts": ["js/sfe_background.js"]
11+
"scripts": ["js/fa_background.js"]
1212
},
1313

1414
"content_scripts": [
1515
{
1616
"matches": ["http://*/*", "https://*/*"],
17-
"js": ["js/jquery-1.10.2.min.js", "js/sfe.js"],
18-
"css": ["css/sfe.css"]
17+
"js": ["js/jquery-1.10.2.min.js", "js/fa.js"],
18+
"css": ["css/fa.css"]
1919
}
2020
]
2121
}

options.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Secure Forms Extension - Options</title>
4+
<title>Forms Alert Extension - Options</title>
55
<link href="css/sfe_options.css" type="text/css" rel="stylesheet" media="screen" />
66
<link href="css/colpick.css" type="text/css" rel="stylesheet" media="screen" />
77
<script src="js/jquery-1.10.2.min.js" type="text/javascript"></script>
@@ -14,7 +14,7 @@
1414
<div id="wrapper">
1515

1616
<header>
17-
<h1>Secure Forms Extension - Options</h1>
17+
<h1>Form Alert Extension - Options</h1>
1818
</header>
1919

2020
<section id="content">

0 commit comments

Comments
 (0)