Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #9: Auto-filling addresses using the context menu #32

Merged
merged 13 commits into from
Jun 18, 2023
Prev Previous commit
Next Next commit
Sign-in disclaimer and readme
  • Loading branch information
dedoussis committed Jun 18, 2023
commit f61e406f169bfeca7c9ba66d1f8e859d4b39d04d
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,21 @@ _Disclaimer: This extension is not endorsed by, directly affiliated with, mainta
- Autofilling on any HTML input element that is relevant to email
- Quick configuration of Hide My Email settings, such as the Forward-To address, through the Options page of the extension

### Options

#### Address autofilling

The extension can be configured to

1. show an autofill button on input field focus
2. show an context menu item when right-clicking on input fields

<img src="./src/assets/img/readme-button-autofilling.png" alt="Autofilling button on input field focus" width="35%" height="35%"/>

<img src="./src/assets/img/readme-context-menu-autofilling.png" alt="Context menu item when right-clicking on input fields" width="35%" height="35%"/>

You can enable/disable any of the autofilling mechanisms through the Options page of the extension.

## Develop

This extension is entirely writen in TypeScript. The UI pages of the extension (e.g. Pop-Up and Options) are implemented as React apps and styled with TailwindCSS.
Expand Down
Binary file added src/assets/img/readme-button-autofilling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 25 additions & 3 deletions src/pages/Popup/Popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import {
faTrashAlt,
faBan,
faSearch,
faInfoCircle,
} from '@fortawesome/free-solid-svg-icons';
import {
LogInRequestData,
Expand Down Expand Up @@ -166,8 +167,7 @@ const SignInForm = (props: {
/>
</div>
</div>

<div className="text-md">
<div>
<a
href="https://iforgot.apple.com/password/verify/appleid"
className="font-medium text-sky-400 hover:text-sky-500"
Expand All @@ -177,7 +177,29 @@ const SignInForm = (props: {
Forgot your password?
</a>
</div>

<div
className="flex p-4 text-sm border text-gray-600 rounded-lg bg-gray-50"
role="alert"
>
<FontAwesomeIcon icon={faInfoCircle} className="mr-2 mt-1" />
<span className="sr-only">Info</span>
<div>
<span className="font-medium">
The extension doesn&apos;t store your iCloud credentials.
</span>{' '}
It passes them directly to Apple without logging or utilizing them
for any other purpose. Review the{' '}
<a
href="https://github.com/dedoussis/icloud-hide-my-email-browser-extension"
className="text-sky-400 font-medium hover:text-sky-500"
target="_blank"
rel="noreferrer"
>
source code
</a>
.
</div>
</div>
<div>
<LoadingButton loading={isSubmitting}>Sign In</LoadingButton>
</div>
Expand Down