gecko-dev/browser/components/preferences/searchResults.inc.xhtml
Chris Peterson af15acc88d Bug 1920421 - Fix Settings links to open in a new tab. r=Gijs
1. Fix these Settings links to open in a new tab like Settings' other "Learn more" links:

* The "Learn more" link for "Suggest Firefox Relay email masks to protect your email address"

* The Privacy Notice link for "Firefox Data Collection and Use"

* The "Learn more" link for "Allow Firefox to send technical and interaction data to Mozilla"

* The "View Firefox Studies" (about:studies) link for "Allow Firefox to install and run studies"

2. Also remove a redundant `target="_blank"` in searchResults.inc.xhtml because the link's `is="moz-support-link"` attribute will cause the link to open in a new tab.

Differential Revision: https://phabricator.services.mozilla.com/D223080
2024-09-25 03:33:31 +00:00

25 lines
972 B
HTML

<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/. -->
<hbox id="header-searchResults"
class="subcategory"
hidden="true"
data-hidden-from-search="true"
data-category="paneSearchResults">
<html:h1 data-l10n-id="search-results-header"/>
</hbox>
<groupbox id="no-results-message"
data-hidden-from-search="true"
data-category="paneSearchResults"
hidden="true">
<vbox class="no-results-container">
<label id="sorry-message" data-l10n-id="search-results-empty-message2">
<html:span data-l10n-name="query" id="sorry-message-query"/>
</label>
<label id="need-help" data-l10n-id="search-results-help-link">
<html:a is="moz-support-link" class="text-link" data-l10n-name="url" support-page="preferences"/>
</label>
</vbox>
</groupbox>