Skip to content

Commit

Permalink
fix: open privacy policy in new tab (ghostery#1882)
Browse files Browse the repository at this point in the history
  • Loading branch information
smalluban authored Sep 13, 2024
1 parent 273acfd commit 6157eac
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"globals": {
"__PLATFORM__": "readonly"
}
}
5 changes: 0 additions & 5 deletions extension-manifest-v3/.eslintrc

This file was deleted.

8 changes: 5 additions & 3 deletions packages/ui/src/modules/onboarding/views/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ export default define({
</div>
<ui-text type="body-s" underline>
${msg.html`
Information about web trackers will be shared in accordance with our <a href="${router.url(
Privacy,
)}">Privacy Policy</a>, advancing privacy protection for the Ghostery community.
Information about web trackers will be shared in accordance with our <a href="${
__PLATFORM__ === 'firefox'
? 'https://addons.mozilla.org/firefox/addon/ghostery/privacy/'
: router.url(Privacy)
}" target="_blank" rel="noreferrer">Privacy Policy</a>, advancing privacy protection for the Ghostery community.
`}
</ui-text>
<div layout="column gap:2">
Expand Down

0 comments on commit 6157eac

Please sign in to comment.