diff --git a/app/brave_generated_resources.grd b/app/brave_generated_resources.grd index de5daaf80e7..8bebd8aa023 100644 --- a/app/brave_generated_resources.grd +++ b/app/brave_generated_resources.grd @@ -807,7 +807,7 @@ By installing this extension, you are agreeing to the Google Widevine Terms of U Method to resolve Unstoppable Domains - <a target="_blank" rel="noopener noreferrer" href="$1">Learn More</a> about DNS over HTTPS and Ethereum privacy considerations. + <a target="_blank" href="$1">Learn More</a> about DNS over HTTPS and Ethereum privacy considerations. Method to resolve Ethereum Name Service (ENS) @@ -876,7 +876,7 @@ By installing this extension, you are agreeing to the Google Widevine Terms of U Node is not launched - IPFS service launch error, more information is available on the <a target="_blank" rel="noopener noreferrer" style="text-decoration: underline;" href="chrome://ipfs-internals/">diagnostic page</a> + IPFS service launch error, more information is available on the <a target="_blank" style="text-decoration: underline;" href="chrome://ipfs-internals/">diagnostic page</a> '$1MyCustomKey' key import failed @@ -912,7 +912,7 @@ By installing this extension, you are agreeing to the Google Widevine Terms of U IPFS public gateway address - <a target="_blank" rel="noopener noreferrer" href="$1">Learn more</a> about IPFS local node and gateway privacy considerations. + <a target="_blank" href="$1">Learn more</a> about IPFS local node and gateway privacy considerations. Change @@ -1329,8 +1329,8 @@ By installing this extension, you are agreeing to the Google Widevine Terms of U - Brave is made available to you under the <a target="_blank" rel="noopener noreferrer" href="$1">Mozilla Public License 2.0</a> (MPL) and includes <a target="_blank" rel="noopener noreferrer" href="$2">open source software</a> under a variety of other licenses. - You can read <a target="_blank" rel="noopener noreferrer" href="$3">instructions on how to download and build for yourself</a> the specific <a target="_blank" rel="noopener noreferrer" href="$4">source code used to create this copy</a>. + Brave is made available to you under the <a target="_blank" href="$1">Mozilla Public License 2.0</a> (MPL) and includes <a target="_blank" href="$2">open source software</a> under a variety of other licenses. + You can read <a target="_blank" href="$3">instructions on how to download and build for yourself</a> the specific <a target="_blank" href="$4">source code used to create this copy</a>. diff --git a/app/brave_strings.grd b/app/brave_strings.grd index c94b3b0c476..619d8917842 100644 --- a/app/brave_strings.grd +++ b/app/brave_strings.grd @@ -291,10 +291,10 @@ If you update this file, be sure also to update google_chrome_strings.grd. --> - Chrome OS is made possible by additional <a target="_blank" rel="noopener noreferrer" href="$1">open source software</a>. + Chrome OS is made possible by additional <a target="_blank" href="$1">open source software</a>. - Chrome OS is made possible by additional <a target="_blank" rel="noopener noreferrer" href="$1">open source software</a>, as is <a target="_blank" rel="noopener noreferrer" href="$2">Linux development environment</a>. + Chrome OS is made possible by additional <a target="_blank" href="$1">open source software</a>, as is <a target="_blank" href="$2">Linux development environment</a>. Not used in Brave. Placeholder to keep resource maps in sync. @@ -1274,7 +1274,7 @@ Brave is unable to recover your settings. - Brave needs Bluetooth access to continue + Brave needs Bluetooth access to continue pairing. $1Open Preferences diff --git a/app/extensions_strings.grdp b/app/extensions_strings.grdp index d9ac31ac82b..0730d19d746 100644 --- a/app/extensions_strings.grdp +++ b/app/extensions_strings.grdp @@ -315,7 +315,7 @@ No recent activities - Find extensions and themes in the <a target="_blank" rel="noopener noreferrer" href="https://chrome.google.com/webstore/category/extensions">Web Store</a></a> + Find extensions and themes in the <a target="_blank" href="https://chrome.google.com/webstore/category/extensions">Web Store</a></a> No description provided diff --git a/app/extensions_strings_override.grdp b/app/extensions_strings_override.grdp index cde1493ae1e..6adcd63df39 100644 --- a/app/extensions_strings_override.grdp +++ b/app/extensions_strings_override.grdp @@ -14,7 +14,7 @@ Web Store - Find extensions and themes in the <a target="_blank" rel="noopener noreferrer" href="https://chrome.google.com/webstore/category/extensions">Web Store</a></a> + Find extensions and themes in the <a target="_blank" href="https://chrome.google.com/webstore/category/extensions">Web Store</a></a> Open Web Store diff --git a/app/generated_resources.grd b/app/generated_resources.grd index af586994624..47b17fae60a 100644 --- a/app/generated_resources.grd +++ b/app/generated_resources.grd @@ -5705,7 +5705,7 @@ Keep your key file in a safe place. You will need it to create new versions of y You’re seeing your recent and suggested documents based on your previous activity using Google Drive. <br> <br> - Learn about the data Google Drive collects and why <a href="https://support.google.com/drive/answer/2450387" target="_blank" rel="noopener noreferrer">here</a>. + Learn about the data Google Drive collects and why <a href="https://support.google.com/drive/answer/2450387" target="_blank">here</a>. Top picks for you @@ -5714,10 +5714,10 @@ Keep your key file in a safe place. You will need it to create new versions of y Why am I seeing this? - You're seeing this item based on your previous activity using Brave services. You can see your data, delete it, and change your settings at <a href="https://myactivity.google.com/" target="_blank" rel="noopener noreferrer">myactivity.google.com</a>. + You're seeing this item based on your previous activity using Brave services. You can see your data, delete it, and change your settings at <a href="https://myactivity.google.com/" target="_blank">myactivity.google.com</a>. <br> <br> - Learn about the data Brave collects and why at <a href="https://policies.google.com/" target="_blank" rel="noopener noreferrer">policies.google.com</a>. + Learn about the data Brave collects and why at <a href="https://policies.google.com/" target="_blank">policies.google.com</a>. Close @@ -6565,7 +6565,7 @@ Keep your key file in a safe place. You will need it to create new versions of y Clear browsing data - The selected data has been removed from Brave and synced devices. Your Brave sync chain may have other forms of browsing history like searches and activity from other Brave services at <a target="_blank" rel="noopener noreferrer" href="$1">myactivity.google.com</a>. + The selected data has been removed from Brave and synced devices. Your Brave sync chain may have other forms of browsing history like searches and activity from other Brave services at <a target="_blank" href="$1">myactivity.google.com</a>. Cleared Brave data @@ -6575,7 +6575,7 @@ Keep your key file in a safe place. You will need it to create new versions of y - We were not able to delete all passwords stored in your Brave sync chain. Try again or visit <a target="_blank" rel="noopener noreferrer" href="$1">passwords.google.com</a>. + We were not able to delete all passwords stored in your Brave sync chain. Try again or visit <a target="_blank" href="$1">passwords.google.com</a>. Some passwords were not deleted @@ -7802,10 +7802,10 @@ Keep your key file in a safe place. You will need it to create new versions of y - Your <a target="_blank" rel="noopener noreferrer" href="$1">$2Bravebook is managed</a> by your organization + Your <a target="_blank" href="$1">$2Bravebook is managed</a> by your organization - Your <a target="_blank" rel="noopener noreferrer" href="$1">$2Bravebook is managed</a> by $3example.com + Your <a target="_blank" href="$1">$2Bravebook is managed</a> by $3example.com @@ -8186,7 +8186,7 @@ Keep your key file in a safe place. You will need it to create new versions of y Continue - Not your device? Use <a is="action-link" target="_blank" rel="noopener noreferrer">Guest mode</a>. + Not your device? Use <a is="action-link" target="_blank">Guest mode</a>. This will separate your browsing from $1bob@example.com @@ -9930,7 +9930,7 @@ Please help our engineers fix this problem. Tell us what happened right before y - Documents are <a is="action-link" href="https://support.google.com/cloudprint/answer/2541843" target="_blank" rel="noopener noreferrer">sent to Brave</a> to prepare them for printing. View, edit and manage your printers and printer history on the <a is="action-link" href="https://www.google.com/cloudprint#jobs" target="_blank" rel="noopener noreferrer">Google Cloud Print dashboard</a>. + Documents are <a is="action-link" href="https://support.google.com/cloudprint/answer/2541843" target="_blank">sent to Brave</a> to prepare them for printing. View, edit and manage your printers and printer history on the <a is="action-link" href="https://www.google.com/cloudprint#jobs" target="_blank">Google Cloud Print dashboard</a>. diff --git a/app/media_router_strings.grdp b/app/media_router_strings.grdp index 353e2dab7e9..a3b2b4182ae 100644 --- a/app/media_router_strings.grdp +++ b/app/media_router_strings.grdp @@ -169,7 +169,7 @@ Your feedback helps us to improve Brave Cast and is appreciated. For help troubleshooting issues with cast, please refer to the - <a href="$1" target="_blank" rel="noopener noreferrer"> + <a href="$1" target="_blank"> help center</a>. @@ -326,7 +326,7 @@ Are you able to see your Bravecast in the - <a href="$1" target="_blank" rel="noopener noreferrer"> + <a href="$1" target="_blank"> Brave Home app</a>? @@ -357,6 +357,6 @@ PC is wired and Bravecast is on Wi-Fi - + diff --git a/app/os_settings_strings.grdp b/app/os_settings_strings.grdp index a6b42864c3c..2a16f70facb 100644 --- a/app/os_settings_strings.grdp +++ b/app/os_settings_strings.grdp @@ -27,11 +27,11 @@ {NUM_DAYS, plural, - =1 {{1}example.com requires you to back up your data and return this {2}Bravebook today. <a target="_blank" rel="noopener noreferrer" href="{3}https://google.com/">See details</a>} - other {{1}example.com requires you to back up your data and return this {2}Bravebook within {NUM_DAYS} days. <a target="_blank" rel="noopener noreferrer" href="{3}https://google.com/">See details</a>}} + =1 {{1}example.com requires you to back up your data and return this {2}Bravebook today. <a target="_blank" href="{3}https://google.com/">See details</a>} + other {{1}example.com requires you to back up your data and return this {2}Bravebook within {NUM_DAYS} days. <a target="_blank" href="{3}https://google.com/">See details</a>}} - $1example.com requires you to back up your data and return this $2Bravebook within 1 week. <a target="_blank" rel="noopener noreferrer" href="$3https://google.com/">See details</a> + $1example.com requires you to back up your data and return this $2Bravebook within 1 week. <a target="_blank" href="$3https://google.com/">See details</a> @@ -191,13 +191,13 @@ Updates are managed by your administrator - This device will get automatic software and security updates until $1September 2020. <a target="_blank" rel="noopener noreferrer" href="$2https://google.com/">Learn more</a> + This device will get automatic software and security updates until $1September 2020. <a target="_blank" href="$2https://google.com/">Learn more</a> - This device stopped getting automatic software and security updates in $1September 2020. <a target="_blank" rel="noopener noreferrer" href="$2https://google.com/">Learn more</a> + This device stopped getting automatic software and security updates in $1September 2020. <a target="_blank" href="$2https://google.com/">Learn more</a> - This is the last automatic software and security update for this $1Bravebook. To get future updates, upgrade to a newer model. <a target="_blank" rel="noopener noreferrer" href="$2https://google.com/">Learn more</a> + This is the last automatic software and security update for this $1Bravebook. To get future updates, upgrade to a newer model. <a target="_blank" href="$2https://google.com/">Learn more</a> Diagnostics @@ -320,7 +320,7 @@ Change device language - You need to restart your Bravebook to change the device language. <a target="_blank" rel="noopener noreferrer" href="$1">Learn more</a> + You need to restart your Bravebook to change the device language. <a target="_blank" href="$1">Learn more</a> $1English selected. Press Search plus Space to unselect. @@ -335,13 +335,13 @@ Web content languages - Web content available in multiple languages will use the first supported language from this list. These preferences are synced with your browser settings. <a target="_blank" rel="noopener noreferrer" href="$1">Learn more</a> + Web content available in multiple languages will use the first supported language from this list. These preferences are synced with your browser settings. <a target="_blank" href="$1">Learn more</a> Website languages - Add and rank your preferred languages. Websites will show in your preferred languages, when possible. These preferences are synced with your browser settings. <a target="_blank" rel="noopener noreferrer" href="$1">Learn more</a> + Add and rank your preferred languages. Websites will show in your preferred languages, when possible. These preferences are synced with your browser settings. <a target="_blank" href="$1">Learn more</a> Language used when translating pages @@ -728,10 +728,10 @@ Select $1Brave Photos albums - Relive your favorite memories. To add or edit albums, go to <a target="_blank" rel="noopener noreferrer" href="$1https://google.com/">Brave Photos</a>. + Relive your favorite memories. To add or edit albums, go to <a target="_blank" href="$1https://google.com/">Brave Photos</a>. - No albums. Create an album in <a target="_blank" rel="noopener noreferrer" href="$1https://google.com/">Brave Photos</a>. + No albums. Create an album in <a target="_blank" href="$1https://google.com/">Brave Photos</a>. Your best photos, selected automatically @@ -863,7 +863,7 @@ Translation - Add your preferred <a target="_blank" rel="noopener noreferrer" href="#">website languages</a>. The top language from the list will be used for translations. + Add your preferred <a target="_blank" href="#">website languages</a>. The top language from the list will be used for translations. Unit Conversion @@ -1591,7 +1591,7 @@ Press an assigned switch to remove assignment Managed by $1google.com - This account is managed by <a target="_blank" rel="noopener noreferrer">$1google.com</a> + This account is managed by <a target="_blank">$1google.com</a> Managed by Family Link @@ -1841,7 +1841,7 @@ Press an assigned switch to remove assignment Reserve size - A factory reset of this Bravebook is required to enable ADB debugging. <a target="_blank" rel="noopener noreferrer" href="$1">Learn more</a> + A factory reset of this Bravebook is required to enable ADB debugging. <a target="_blank" href="$1">Learn more</a> To enable ADB debugging, a restart of this $1Bravebook is required. Disabling it requires a reset to factory settings. @@ -1850,7 +1850,7 @@ Press an assigned switch to remove assignment Disabling ADB debugging will reset this $1Bravebook to factory settings. All user accounts and local data will be erased. - Run Linux tools, editors, and IDEs on your $1Bravebook. <a target="_blank" rel="noopener noreferrer" href="$2https://google.com/">Learn more</a> + Run Linux tools, editors, and IDEs on your $1Bravebook. <a target="_blank" href="$2https://google.com/">Learn more</a> Remove Linux development environment @@ -2731,13 +2731,13 @@ Press an assigned switch to remove assignment This network is shared with you - This network is not synced to your account. <a target="_blank" rel="noopener noreferrer" href="$1https://google.com/">Learn more</a> + This network is not synced to your account. <a target="_blank" href="$1https://google.com/">Learn more</a> - Synced with other devices on your account. Settings modified by other users will not be synced. <a target="_blank" rel="noopener noreferrer" href="$1https://google.com/">Learn more</a> + Synced with other devices on your account. Settings modified by other users will not be synced. <a target="_blank" href="$1https://google.com/">Learn more</a> - Synced with other devices on your account. <a target="_blank" rel="noopener noreferrer" href="$1https://google.com/">Learn more</a> + Synced with other devices on your account. <a target="_blank" href="$1https://google.com/">Learn more</a> Network out of range @@ -2806,7 +2806,7 @@ Press an assigned switch to remove assignment Connect - Looking for a mobile network. <a target="_blank" rel="noopener noreferrer" href="$1">Learn more</a> + Looking for a mobile network. <a target="_blank" href="$1">Learn more</a> eSIM @@ -2824,7 +2824,7 @@ Press an assigned switch to remove assignment No SIM card inserted - No device detected. <a target="_blank" rel="noopener noreferrer" href="$1">Learn more</a> + No device detected. <a target="_blank" href="$1">Learn more</a> Show device EID and QR Code popup @@ -2903,7 +2903,7 @@ Press an assigned switch to remove assignment Messages - Send and receive text messages from your $1Bravebook. <a target="_blank" rel="noopener noreferrer" href="$2https://google.com/">Learn more</a> + Send and receive text messages from your $1Bravebook. <a target="_blank" href="$2https://google.com/">Learn more</a> Phone Hub @@ -2927,7 +2927,7 @@ Press an assigned switch to remove assignment View recent Brave tabs from your phone - Turn on <a id="chromeSyncLink">Brave Sync</a> to view recent Brave tabs. <a target="_blank" rel="noopener noreferrer" id="learnMoreLink" href="$1https://google.com/">Learn More</a> + Turn on <a id="chromeSyncLink">Brave Sync</a> to view recent Brave tabs. <a target="_blank" id="learnMoreLink" href="$1https://google.com/">Learn More</a> Turn on Brave Sync to view recent Brave tabs from your phone @@ -2972,7 +2972,7 @@ Press an assigned switch to remove assignment Could not set up notifications syncing - Notification syncing is not supported for phones in a work profile. <a target="_blank" rel="noopener noreferrer" href="$1https://google.com/">Learn more</a> + Notification syncing is not supported for phones in a work profile. <a target="_blank" href="$1https://google.com/">Learn more</a> Notification syncing is not supported for phones in a work profile @@ -2987,10 +2987,10 @@ Press an assigned switch to remove assignment Wi-Fi Sync - Sync Wi-Fi networks with your phone. <a target="_blank" rel="noopener noreferrer" href="$1https://google.com/">Learn more</a> + Sync Wi-Fi networks with your phone. <a target="_blank" href="$1https://google.com/">Learn more</a> - Turn on <a id="chromeSyncLink">Brave Sync</a> to use Wi-Fi Sync. <a id="learnMoreLink" target="_blank" rel="noopener noreferrer" href="$1https://google.com/">Learn more</a> + Turn on <a id="chromeSyncLink">Brave Sync</a> to use Wi-Fi Sync. <a id="learnMoreLink" target="_blank" href="$1https://google.com/">Learn more</a> Turn on Brave Sync to use Wi-Fi Sync @@ -3084,16 +3084,16 @@ Press an assigned switch to remove assignment Disconnect - Connect your $1Bravebook with your phone. <a target="_blank" rel="noopener noreferrer" href="$2https://google.com/">Learn more</a> + Connect your $1Bravebook with your phone. <a target="_blank" href="$2https://google.com/">Learn more</a> - No eligible devices. <a target="_blank" rel="noopener noreferrer" href="$1https://google.com/">Learn more</a> + No eligible devices. <a target="_blank" href="$1https://google.com/">Learn more</a> - Waiting for verification. <a target="_blank" rel="noopener noreferrer" href="$1https://google.com/">Learn more</a> + Waiting for verification. <a target="_blank" href="$1https://google.com/">Learn more</a> - Unlock your $1Bravebook with your phone. <a target="_blank" rel="noopener noreferrer" href="$2https://google.com/">Learn more</a> + Unlock your $1Bravebook with your phone. <a target="_blank" href="$2https://google.com/">Learn more</a> Lock screen from sleep mode @@ -3246,7 +3246,7 @@ Press an assigned switch to remove assignment Valid for $17 hours 12 minutes - Choose a ticket to use for authentication. <a target="_blank" rel="noopener noreferrer" href="$1https://google.com/">Learn more</a> + Choose a ticket to use for authentication. <a target="_blank" href="$1https://google.com/">Learn more</a> Kerberos tickets @@ -3793,7 +3793,7 @@ Press an assigned switch to remove assignment Android settings - Install apps and games from Google Play on your $1Bravebook. <a target="_blank" rel="noopener noreferrer" href="$2https://google.com/">Learn more</a> + Install apps and games from Google Play on your $1Bravebook. <a target="_blank" href="$2https://google.com/">Learn more</a> @@ -3886,7 +3886,7 @@ Press an assigned switch to remove assignment External storage preferences - Apps from Google Play may require full file system access to read and write files on external storage devices. Files and folders created on the device are visible to anyone who uses the external drive. <a target="_blank" rel="noopener noreferrer" href="$1https://google.com/">Learn more</a> + Apps from Google Play may require full file system access to read and write files on external storage devices. Files and folders created on the device are visible to anyone who uses the external drive. <a target="_blank" href="$1https://google.com/">Learn more</a> Available devices will appear here. diff --git a/app/settings_brave_strings.grdp b/app/settings_brave_strings.grdp index e4c9cf2d1c4..3b37353e189 100644 --- a/app/settings_brave_strings.grdp +++ b/app/settings_brave_strings.grdp @@ -52,7 +52,7 @@ No saved passwords. Brave can check your passwords when you save them. - Brave can't check your passwords. Try again after 24 hours or <a href="$1" target="_blank" rel="noopener noreferrer">check passwords in your Brave sync chain</a>. + Brave can't check your passwords. Try again after 24 hours or <a href="$1" target="_blank">check passwords in your Brave sync chain</a>. Brave can't check your passwords. Try again after 24 hours. @@ -127,7 +127,7 @@ Brave can't check for updates. Try checking your internet connection. - Brave didn't update, something went wrong. <a target="_blank" rel="noopener noreferrer" href="$1">Fix Brave update problems and failed updates.</a> + Brave didn't update, something went wrong. <a target="_blank" href="$1">Fix Brave update problems and failed updates.</a> Brave version $115.0.865.0 is installed @@ -199,6 +199,6 @@ - Help make Brave better by reporting the <a is="action-link" target="_blank" rel="noopener noreferrer">current settings</a> + Help make Brave better by reporting the <a is="action-link" target="_blank">current settings</a> diff --git a/app/settings_strings.grdp b/app/settings_strings.grdp index 656ba22b305..d0f40b748a2 100644 --- a/app/settings_strings.grdp +++ b/app/settings_strings.grdp @@ -193,7 +193,7 @@ Search settings - Go to <a target="_blank" rel="noopener noreferrer" href="$1">Brave help</a> if you can't find what you're looking for + Go to <a target="_blank" href="$1">Brave help</a> if you can't find what you're looking for Settings @@ -295,7 +295,7 @@ Edit card - To add or manage Brave Pay payment methods, visit your <a href="$1" target="_blank" rel="noopener noreferrer">Brave sync chain</a> + To add or manage Brave Pay payment methods, visit your <a href="$1" target="_blank">Brave sync chain</a> This card will be saved to this device only @@ -630,19 +630,19 @@ See and manage passwords saved on this device - View and manage saved passwords in your <a is="action-link" href="$1" target="_blank" rel="noopener noreferrer">Brave sync chain</a> + View and manage saved passwords in your <a is="action-link" href="$1" target="_blank">Brave sync chain</a> View and manage saved passwords in your Brave sync chain - You can also show passwords from your <a is="action-link" href="$1" target="_blank" rel="noopener noreferrer">Brave sync chain</a> here + You can also show passwords from your <a is="action-link" href="$1" target="_blank">Brave sync chain</a> here Show - Showing passwords from your <a is="action-link" href="$1" target="_blank" rel="noopener noreferrer">Brave sync chain</a> + Showing passwords from your <a is="action-link" href="$1" target="_blank">Brave sync chain</a> Remove from device @@ -938,16 +938,16 @@ Time range - To clear browsing data from this device only, while keeping it in your Brave sync chain, <a href="#" target="_blank" rel="noopener noreferrer">sign out</a>. + To clear browsing data from this device only, while keeping it in your Brave sync chain, <a href="#" target="_blank">sign out</a>. - To clear browsing data from all of your synced devices and your Brave sync chain, <a href="#" target="_blank" rel="noopener noreferrer">visit sync settings</a>. + To clear browsing data from all of your synced devices and your Brave sync chain, <a href="#" target="_blank">visit sync settings</a>. - To clear browsing data from all of your synced devices and your Brave sync chain, <a href="#" target="_blank" rel="noopener noreferrer">enter your passphrase</a>. + To clear browsing data from all of your synced devices and your Brave sync chain, <a href="#" target="_blank">enter your passphrase</a>. - To clear browsing data from all of your synced devices and your Brave sync chain, <a href="#" target="_blank" rel="noopener noreferrer">sign in</a>. + To clear browsing data from all of your synced devices and your Brave sync chain, <a href="#" target="_blank">sign in</a>. Browsing history @@ -971,10 +971,10 @@ Clears history from all signed-in devices. Your Brave sync chain may have other forms of browsing history at <a target='_blank' href='$1'>myactivity.google.com</a></a>. - <a target="_blank" rel="noopener noreferrer" href="$1">Search history</a> and <a target="_blank" rel="noopener noreferrer" href="$2">other forms of activity</a> may be saved in your Brave sync chain when you're signed in. You can delete them anytime. + <a target="_blank" href="$1">Search history</a> and <a target="_blank" href="$2">other forms of activity</a> may be saved in your Brave sync chain when you're signed in. You can delete them anytime. - <a target="_blank" rel="noopener noreferrer" href="$1">Other forms of activity</a> may be saved in your Brave sync chain when you're signed in. You can delete them anytime. + <a target="_blank" href="$1">Other forms of activity</a> may be saved in your Brave sync chain when you're signed in. You can delete them anytime. Your search engine is $1Bing. See their instructions for deleting your search history, if applicable. @@ -1241,10 +1241,10 @@ Privacy Sandbox preserves the vitality of the open web by creating better ways to perform these services—without breaking sites, and while preventing you from being surreptitiously tracked across the web. - Privacy Sandbox is still in active development and is available in selected regions. For now, sites may try out Privacy Sandbox while continuing to use current web technologies like third-party cookies. <a href="$1" target="_blank" rel="noopener noreferrer">Learn more</a> + Privacy Sandbox is still in active development and is available in selected regions. For now, sites may try out Privacy Sandbox while continuing to use current web technologies like third-party cookies. <a href="$1" target="_blank">Learn more</a> - With <a href="$1" target="_blank" rel="noopener noreferrer">Privacy Sandbox</a>, Brave is developing new technologies to safeguard you from cross-site tracking while preserving the open web. + With <a href="$1" target="_blank">Privacy Sandbox</a>, Brave is developing new technologies to safeguard you from cross-site tracking while preserving the open web. Privacy Sandbox trials are still in active development and are available in selected regions. For now, sites may try out Privacy Sandbox while continuing to use current web technologies like third-party cookies. @@ -1284,10 +1284,10 @@ When on and the status is active, Brave uses your browsing history over 7 days to determine a group, or “cohort”, that you’re in. Advertisers can select ads for the group. Your browsing history is kept private on your device. This trial is active only in - <a href="$1" target="_blank" rel="noopener noreferrer">some regions</a>. + <a href="$1" target="_blank">some regions</a>. - This trial is active only in <a target="_blank" rel="noopener noreferrer" href="$1">some regions</a>. + This trial is active only in <a target="_blank" href="$1">some regions</a>. Status @@ -1387,7 +1387,7 @@ Updates - Updates are managed by <a target="_blank" rel="noopener noreferrer" href="$1">your administrator</a> + Updates are managed by <a target="_blank" href="$1">your administrator</a> Passwords @@ -1411,7 +1411,7 @@ Enhanced Protection is on - <a target="_blank" rel="noopener noreferrer" href="$1">Your administrator</a> has turned off Safe Browsing + <a target="_blank" href="$1">Your administrator</a> has turned off Safe Browsing An extension has turned off Safe Browsing @@ -1487,7 +1487,7 @@ Brave is removing harmful software from your computer... - <a target="_blank" rel="noopener noreferrer" href="$1">Your administrator</a> has turned off checking for harmful software + <a target="_blank" href="$1">Your administrator</a> has turned off checking for harmful software Something went wrong. Click for more details. @@ -1582,7 +1582,7 @@ Do Not Track - Enabling "Do Not Track" means that a request will be included with your browsing traffic. Any effect depends on whether a website responds to the request, and how the request is interpreted. For example, some websites may respond to this request by showing you ads that aren't based on other websites you've visited. Many websites will still collect and use your browsing data - for example to improve security, to provide content, services, ads and recommendations on their websites, and to generate reporting statistics. <a target="_blank" rel="noopener noreferrer" href="$1">Learn more</a></a> + Enabling "Do Not Track" means that a request will be included with your browsing traffic. Any effect depends on whether a website responds to the request, and how the request is interpreted. For example, some websites may respond to this request by showing you ads that aren't based on other websites you've visited. Many websites will still collect and use your browsing data - for example to improve security, to provide content, services, ads and recommendations on their websites, and to generate reporting statistics. <a target="_blank" href="$1">Learn more</a></a> Permissions and content settings @@ -1636,7 +1636,7 @@ With - See this provider's <a target="_blank" rel="noopener noreferrer" href="$1https://google.com/">privacy policy</a> + See this provider's <a target="_blank" href="$1https://google.com/">privacy policy</a> This setting is disabled on managed browsers @@ -3229,7 +3229,7 @@ Sign in - Because this account is managed by $1example.com, your bookmarks, history, passwords, and other settings will be cleared from this device. However, your data will remain stored in your Brave sync chain and can be managed on <a href="$2" target="_blank" rel="noopener noreferrer"><a href="$2" target="_blank">Brave Dashboard</a></a>. + Because this account is managed by $1example.com, your bookmarks, history, passwords, and other settings will be cleared from this device. However, your data will remain stored in your Brave sync chain and can be managed on <a href="$2" target="_blank"><a href="$2" target="_blank">Brave Dashboard</a></a>. Turn off sync and personalization? @@ -3269,7 +3269,7 @@ - Changes to your bookmarks, history, passwords, and other settings will no longer be synced to your Brave sync chain. However, your existing data will remain stored in your Brave sync chain and can be managed on <a href="$1" target="_blank" rel="noopener noreferrer"><a href="$1" target="_blank">Brave Dashboard</a></a>. + Changes to your bookmarks, history, passwords, and other settings will no longer be synced to your Brave sync chain. However, your existing data will remain stored in your Brave sync chain and can be managed on <a href="$1" target="_blank"><a href="$1" target="_blank">Brave Dashboard</a></a>. This will sign you out of your Brave sync chains. Your bookmarks, history, passwords, and more will no longer be synced. @@ -3296,19 +3296,19 @@ Manage synced data on Brave Dashboard - Encrypt synced data with your own <a href="$1" target="_blank" rel="noopener noreferrer"><a href="$1" target="_blank">sync passphrase</a></a>. This doesn't include payment methods and addresses from Brave Pay. + Encrypt synced data with your own <a href="$1" target="_blank"><a href="$1" target="_blank">sync passphrase</a></a>. This doesn't include payment methods and addresses from Brave Pay. - Only someone with your passphrase can read your encrypted data. The passphrase is not sent to or stored by Brave. If you forget your passphrase or want to change this setting, you'll need to <a href="$1" target="_blank" rel="noopener noreferrer"><a href="$1" target="_blank">reset sync</a></a>. + Only someone with your passphrase can read your encrypted data. The passphrase is not sent to or stored by Brave. If you forget your passphrase or want to change this setting, you'll need to <a href="$1" target="_blank"><a href="$1" target="_blank">reset sync</a></a>. - To change this setting, <a href="$1" target="_blank" rel="noopener noreferrer"><a href="$1" target="_blank">reset sync</a></a> to remove your sync passphrase + To change this setting, <a href="$1" target="_blank"><a href="$1" target="_blank">reset sync</a></a> to remove your sync passphrase - To turn this on, <a href="$1" target="_blank" rel="noopener noreferrer"><a href="$1" target="_blank">reset sync</a></a> to remove your sync passphrase + To turn this on, <a href="$1" target="_blank"><a href="$1" target="_blank">reset sync</a></a> to remove your sync passphrase - If you forgot your passphrase or want to change this setting, <a href="$1" target="_blank" rel="noopener noreferrer"><a href="$1" target="_blank">reset sync</a></a>. + If you forgot your passphrase or want to change this setting, <a href="$1" target="_blank"><a href="$1" target="_blank">reset sync</a></a>. Control how your browsing history is used to personalize Search and more @@ -3557,7 +3557,7 @@ other {To ensure that you can keep browsing the web, ask your administrator to remove these applications.}} - <a target="_blank" rel="noopener noreferrer" href="$1">Learn how to update applications</a> + <a target="_blank" href="$1">Learn how to update applications</a> {NUM_APLLICATIONS, plural, diff --git a/browser/ui/android/strings/android_chrome_strings.grd b/browser/ui/android/strings/android_chrome_strings.grd index dfba46d8116..283abbc0d8c 100644 --- a/browser/ui/android/strings/android_chrome_strings.grd +++ b/browser/ui/android/strings/android_chrome_strings.grd @@ -858,7 +858,7 @@ Privacy Sandbox trials are still in active development and are available in sele Choose another provider - See this provider's <a target="_blank" rel="noopener noreferrer" href="$1https://google.com/">privacy policy</a> + See this provider's <a target="_blank" href="$1https://google.com/">privacy policy</a> This setting is disabled on managed browsers diff --git a/components/components_brave_strings.grd b/components/components_brave_strings.grd index f307775c72b..6a54b1c175c 100644 --- a/components/components_brave_strings.grd +++ b/components/components_brave_strings.grd @@ -287,7 +287,7 @@ - Brave is made possible by the <a target="_blank" rel="noopener noreferrer" href="$1">Brave</a> open source project and other <a target="_blank" rel="noopener noreferrer" href="$2">open source software</a>. + Brave is made possible by the <a target="_blank" href="$1">Brave</a> open source project and other <a target="_blank" href="$2">open source software</a>. diff --git a/components/history_strings.grdp b/components/history_strings.grdp index 43e5325b7c8..d1ff1a497aa 100644 --- a/components/history_strings.grdp +++ b/components/history_strings.grdp @@ -40,7 +40,7 @@ Found $1 search results$2 for '$3' - Your Brave sync chain may have other forms of browsing history at <a target="_blank" rel="noopener noreferrer" href="$1">myactivity.google.com</a> + Your Brave sync chain may have other forms of browsing history at <a target="_blank" href="$1">myactivity.google.com</a> Loading... diff --git a/components/management_strings.grdp b/components/management_strings.grdp index e1ad5d47491..6293365e2e8 100644 --- a/components/management_strings.grdp +++ b/components/management_strings.grdp @@ -47,10 +47,10 @@ - Your administrator can change your browser setup remotely. Activity on this device may also be managed outside of Brave. <a target="_blank" rel="noopener noreferrer" href="$1">Learn more</a> + Your administrator can change your browser setup remotely. Activity on this device may also be managed outside of Brave. <a target="_blank" href="$1">Learn more</a> - This browser is not managed by a company or other organization. Activity on this device may be managed outside of Brave. <a target="_blank" rel="noopener noreferrer" href="$1">Learn more</a> + This browser is not managed by a company or other organization. Activity on this device may be managed outside of Brave. <a target="_blank" href="$1">Learn more</a> @@ -134,7 +134,7 @@ Which Google Play apps you have installed - Your administrator has allowed $1Plugin VM to collect diagnostics data to improve the product experience. See <a target="_blank" rel="noopener noreferrer" href="https://www.parallels.com/pcep">https://www.parallels.com/pcep</a> for more information. + Your administrator has allowed $1Plugin VM to collect diagnostics data to improve the product experience. See <a target="_blank" href="https://www.parallels.com/pcep">https://www.parallels.com/pcep</a> for more information. diff --git a/components/security_interstitials_strings.grdp b/components/security_interstitials_strings.grdp index 7710e73a8aa..4cf7d8d8919 100644 --- a/components/security_interstitials_strings.grdp +++ b/components/security_interstitials_strings.grdp @@ -362,7 +362,7 @@ <h4>Step 1: Sign in to the portal</h4> <p>Wi-Fi networks at places like cafes or airports need you to sign in. To see the sign-in page, visit a page that uses <code>http://</code>.</p> <ol> - <li>Go to any website starting with <code>http://</code>, like <a href="http://example.com" target="_blank" rel="noopener noreferrer">http://example.com</a>.</li> + <li>Go to any website starting with <code>http://</code>, like <a href="http://example.com" target="_blank">http://example.com</a>.</li> <li>On the sign-in page that opens, sign in to use the internet.</li> </ol> <h4>Step 2: Open the page in Private mode (computer only)</h4> diff --git a/components/security_interstitials_strings_override.grdp b/components/security_interstitials_strings_override.grdp index 00ecf9e0447..4c577403345 100644 --- a/components/security_interstitials_strings_override.grdp +++ b/components/security_interstitials_strings_override.grdp @@ -36,7 +36,7 @@ <h4>Step 1: Sign in to the portal</h4> <p>Wi-Fi networks at places like cafes or airports need you to sign in. To see the sign-in page, visit a page that uses <code>http://</code>.</p> <ol> - <li>Go to any website starting with <code>http://</code>, like <a href="http://example.com" target="_blank" rel="noopener noreferrer">http://example.com</a>.</li> + <li>Go to any website starting with <code>http://</code>, like <a href="http://example.com" target="_blank">http://example.com</a>.</li> <li>On the sign-in page that opens, sign in to use the internet.</li> </ol> <h4>Step 2: Open the page in Private mode (computer only)</h4> diff --git a/components/sync_ui_strings.grdp b/components/sync_ui_strings.grdp index 9ffce61e113..9e050e989c0 100644 --- a/components/sync_ui_strings.grdp +++ b/components/sync_ui_strings.grdp @@ -48,7 +48,7 @@ Sync is not available for your domain - Your data was encrypted with your <a target="_blank" rel="noopener noreferrer" href="$1">sync passphrase</a> on $2Sept 1, 2012. Enter it to start sync. + Your data was encrypted with your <a target="_blank" href="$1">sync passphrase</a> on $2Sept 1, 2012. Enter it to start sync. diff --git a/script/chromium-rebase-l10n.py b/script/chromium-rebase-l10n.py index c28119d0aa6..666f8e9388f 100644 --- a/script/chromium-rebase-l10n.py +++ b/script/chromium-rebase-l10n.py @@ -24,7 +24,6 @@ def parse_args(): def generate_overrides_and_replace_strings(source_string_path): - fix_links_with_target_blank(source_string_path) original_xml_tree_with_branding_fixes = etree.parse(source_string_path) update_braveified_grd_tree_override(original_xml_tree_with_branding_fixes, True) write_braveified_grd_override(source_string_path) diff --git a/script/lib/transifex.py b/script/lib/transifex.py index 250af42f07d..99f6322bbe9 100644 --- a/script/lib/transifex.py +++ b/script/lib/transifex.py @@ -192,12 +192,6 @@ def validate_elements_tags(elements): if element.tag not in allowed_html_tags: error = ("ERROR: Element <{0}> is not allowed.\n").format(element.tag) errors = (errors or '') + error - if element.tag == 'a' and element.get('target') == '_blank': - rel = element.get('rel') or '' - if rel.find('noopener') == -1 or rel.find('noreferrer') == -1: - error = ("ERROR: Element with target=\"_blank\" must set " - "rel=\"noopener noreferrer\"\n") - errors = (errors or '') + error rec_errors = validate_elements_tags(list(element)) if rec_errors is not None: errors = (errors or '') + rec_errors @@ -246,90 +240,6 @@ def validate_tags_in_transifex_strings(xml_content): errors = ("\n") + errors return errors - -def fix_links_with_target_blank_in_ph_text(text): - """A containing a link usually only has part of the element, so - we can't convert it to proper xml and instead try to add rel attribute - via string search""" - target = text.find('target="_blank"') - if target == -1: - return text - target += 15 - rel = text.find('rel="') - if rel == -1: - return text[:target] + ' rel="noopener noreferrer"' + text[target:] - - rel += 5 - rel_end = rel + text[rel:].find('"') - rel_value = text[rel:rel_end] - rel_add = '' - if rel_value.find('noopener') == -1: - rel_add = 'noopener ' - if rel_value.find('noreferrer') == -1: - rel_add = rel_add + 'noreferrer ' - return text[:rel] + rel_add + text[rel:] - - -def fix_links_with_target_blank_in_text(text): - """Process element text for embedded elements""" - if text.find('target="_blank"') == -1: - return text - xml_text = (text.replace('<', '<').replace('>', '>')) - try: - xml_elem = lxml.etree.fromstring('' + xml_text + '') - except lxml.etree.XMLSyntaxError as e: - print "\n--------------------\n{0}\nERROR: {1}\n".format(xml_text.encode('utf-8'), str(e)) - cont = raw_input('Enter C to ignore and continue. Enter anything else to exit : ') - if cont == 'C' or cont == 'c': - return text - raise - a_tags = xml_elem.findall('.//a') - for a_tag in a_tags: - if a_tag.get('target') == '_blank': - rel = a_tag.get('rel') or '' - if rel.find('noopener') == -1: - a_tag.set('rel', rel + (' noopener' if len(rel) else 'noopener')) - if rel.find('noreferrer') == -1: - a_tag.set('rel', a_tag.get('rel') + ' noreferrer') - new_text = lxml.etree.tostring(xml_elem, method='xml', encoding='unicode') - new_text = new_text[new_text.index('>')+1:new_text.rindex('<')] - return new_text - - -def fix_links_with_target_blank_in_element(elem): - """Recursively process text, tail and children of an element for embedded - elements and process them""" - if elem.text: - if elem.tag == 'ph': - elem.text = fix_links_with_target_blank_in_ph_text(elem.text) - else: - elem.text = fix_links_with_target_blank_in_text(elem.text) - if elem.tail: - if elem.tag == 'ph': - elem.tail = fix_links_with_target_blank_in_ph_text(elem.tail) - else: - elem.tail = fix_links_with_target_blank_in_text(elem.tail) - for child in elem: - if child.tag != 'ex': - fix_links_with_target_blank_in_element(child) - - -def fix_links_with_target_blank(source_string_path): - """Takes in a grd(p) path, finds all tags with target _blank and makes - sure they have rel attribute with noopener and noreferrer values""" - source_xml_tree = lxml.etree.parse(source_string_path) - for elem in source_xml_tree.xpath('//message'): - fix_links_with_target_blank_in_element(elem) - write_xml_file_from_tree(source_string_path, source_xml_tree) - - -def fix_links_with_target_blank_in_xtb_tree(xtb_tree): - """Takes in an xtb tree, finds all tags with target _blank and makes - sure they have rel attribute with noopener and noreferrer values""" - for elem in xtb_tree.xpath('//translation'): - fix_links_with_target_blank_in_element(elem) - - def trim_ph_tags_in_xtb_file_content(xml_content): """Removes all children of tags including text inside ph tag""" xml = lxml.etree.fromstring(xml_content) @@ -978,7 +888,6 @@ def pull_xtb_without_transifex(grd_file_path, brave_source_root): node.attrib['id'] = new_fp # print('fp: {0} -> {1}').format(old_fp, new_fp) - fix_links_with_target_blank_in_xtb_tree(xml_tree) transformed_content = ('\n' + lxml.etree.tostring(xml_tree, pretty_print=True, xml_declaration=False,