1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

[SG-805] Update copy for Autofill on page load (#4628)

* [SG-805] Update copy for Autofill on page load

* [SG-805] Added learn more auto-fill hyperlink
This commit is contained in:
André Bispo 2023-02-03 09:54:08 +00:00 committed by GitHub
parent 2edbba8a2c
commit dc082b0a7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

View File

@ -960,7 +960,10 @@
"message": "If a login form is detected, auto-fill when the web page loads."
},
"experimentalFeature": {
"message": "This is currently an experimental feature. Use at your own risk."
"message": "Compromised or untrusted websites can exploit auto-fill on page load."
},
"learnMoreAboutAutofill":{
"message": "Learn more about auto-fill"
},
"defaultAutoFillOnPageLoad": {
"message": "Default autofill setting for login items"

View File

@ -28,6 +28,7 @@
{{ "enableAutoFillOnPageLoadDesc" | i18n }}
<b>{{ "warning" | i18n }}</b
>: {{ "experimentalFeature" | i18n }}
<a (click)="AboutAutofill()">{{ "learnMoreAboutAutofill" | i18n }}</a>
</div>
</div>
<div class="box">

View File

@ -4,6 +4,8 @@ import { I18nService } from "@bitwarden/common/abstractions/i18n.service";
import { StateService } from "@bitwarden/common/abstractions/state.service";
import { UriMatchType } from "@bitwarden/common/enums/uriMatchType";
import { BrowserApi } from "../../browser/browserApi";
@Component({
selector: "app-autofill",
templateUrl: "autofill.component.html",
@ -51,4 +53,8 @@ export class AutofillComponent implements OnInit {
async saveDefaultUriMatch() {
await this.stateService.setDefaultUriMatch(this.defaultUriMatch);
}
AboutAutofill() {
BrowserApi.createNewTab("https://bitwarden.com/help/auto-fill-browser/");
}
}