Fixing urls to no language specific URLS

This commit is contained in:
championshuttler 2019-02-11 18:09:17 +05:30
Родитель 8d075a691d
Коммит 1795f87f08
7 изменённых файлов: 24 добавлений и 24 удалений

Просмотреть файл

@ -34,9 +34,9 @@ CSPSTATIC="\"content-security-policy\": \"default-src 'none'; "\
"object-src 'none'\""
CSP="\"content-security-policy\": \"default-src 'none'; "\
"base-uri 'self'; "\
"connect-src https://blog.mozilla.org/addons/feed/ https://www.mozilla.org/en-US/newsletter/; "\
"connect-src https://blog.mozilla.org/addons/feed/ https://www.mozilla.org/newsletter/; "\
"font-src 'self'; "\
"form-action https://www.mozilla.org/en-US/newsletter/; "\
"form-action https://www.mozilla.org/newsletter/; "\
"frame-ancestors 'none'; "\
"frame-src https://www.youtube.com/embed/; "\
"img-src 'self' data:; "\

Просмотреть файл

@ -9,10 +9,10 @@
<a href="https://addons.mozilla.org/">Add-ons</a>
</h4>
<ul>
<li><a href="https://addons.mozilla.org/en-US/about">About</a></li>
<li><a href="https://addons.mozilla.org/about">About</a></li>
<li><a href="https://blog.mozilla.com/addons">Blog</a></li>
<li><a href="https://addons.mozilla.org/developers/">Developer Hub</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/AMO/Policy">Developer Policies</a></li>
<li><a href="https://developer.mozilla.org/docs/Mozilla/Add-ons/AMO/Policy">Developer Policies</a></li>
<li><a href="https://discourse.mozilla.org/c/add-ons">Forum</a></li>
</ul>
</section>

Просмотреть файл

@ -17,10 +17,10 @@
<li><a href="{{ item.url | relative_url }}">{{ item.title }}</a></li>
{% endif %}
{% endfor %}
<li><a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Listing" target="_blank" rel="noreferrer noopener">More Tips</a></li>
<li><a href="https://developer.mozilla.org/docs/Mozilla/Add-ons/Listing" target="_blank" rel="noreferrer noopener">More Tips</a></li>
</ul>
<p><a href="https://addons.mozilla.org/en-US/firefox/#login" class="button" target="_blank" rel="noreferrer noopener">Edit Product Page</a></p>
<p><a href="https://addons.mozilla.org/firefox/#login" class="button" target="_blank" rel="noreferrer noopener">Edit Product Page</a></p>
<p><a href="{{ "/" | relative_url }}" class="back">Extension Workshop</a></p>
<p class="site-metadata"><a href="">Site Feedback</a>
<br><a href="">Changelog</a> v0.6.8

Просмотреть файл

@ -10,7 +10,7 @@
Build on the webs most customizable browser. Get your great idea into the hands of millions of users. Join an international community of developers in the movement to put people in control of their online lives. **(P.S. Theres no cost to participate!)**
[Learn more about extensions](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/What_are_WebExtensions)
[Learn more about extensions](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/What_are_WebExtensions)
</div>
</div>
@ -32,7 +32,7 @@ Build on the webs most customizable browser. Get your great idea into the han
<div class="grid-container grid-x grid-padding-x align-center">
<!-- Tile 1 -->
<a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Working_with_the_Tabs_API" class="cell small-12 large-4 tile tile-block-link">
<a href="https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/Working_with_the_Tabs_API" class="cell small-12 large-4 tile tile-block-link">
<div class="block-link" markdown="1">
![Tinker with Tabs]({% asset "Tinker-with-Tabs.svg" @path @optim %} "Tinker with Tabs")
@ -48,7 +48,7 @@ Your extension can control browser tabs. Use the API to open, close, move, hide,
<!-- END: Tile 1 -->
<!-- Tile 2 -->
<a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Content_scripts" class="cell small-12 large-4 tile tile-block-link">
<a href="https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/Content_scripts" class="cell small-12 large-4 tile tile-block-link">
<div class="block-link" markdown="1">
![Transform Web Content]({% asset "Transform-Web-Content.svg" @path @optim %} "Transform Web Content")
@ -64,7 +64,7 @@ Inject JavaScript into web pages and your extension can change page colors, augm
<!-- END: Tile 2 -->
<!-- Tile 3 -->
<a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface" class="cell small-12 large-4 tile tile-block-link">
<a href="https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/user_interface" class="cell small-12 large-4 tile tile-block-link">
<div class="block-link" markdown="1">
![Add Innovative Features]({% asset "Add-Innovative-Features.svg" @path @optim %} "Add Innovative Features")
@ -85,7 +85,7 @@ Think the browser is missing a feature, such as a built-in calculator, music str
<div class="grid-container grid-x grid-padding-x align-center">
<div class="cell small-12 medium-8 large-6 text-center" markdown="1">
[View more extension code examples](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Examples)
[View more extension code examples](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/Examples)
[Explore live extensions](https://addons.mozilla.org)
@ -107,7 +107,7 @@ Think the browser is missing a feature, such as a built-in calculator, music str
An extension is a simple collection of files that modify the browsers appearance and behavior. It can add user interface elements, alter content, or perform background tasks that enhance browsing.
[Learn more about extension anatomy](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Anatomy_of_a_WebExtension)
[Learn more about extension anatomy](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/Anatomy_of_a_WebExtension)
</div>
</div>

Просмотреть файл

@ -37,7 +37,7 @@ Firefox extensions are made with the same technologies used to build the web. Th
<div class="grid-container grid-x grid-padding-x align-center">
<!-- Tile 1 -->
<a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json" class="cell small-12 medium-6 tile tile-block-link">
<a href="https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/manifest.json" class="cell small-12 medium-6 tile tile-block-link">
<div class="block-link" markdown="1">
![Manifest Keys]({% asset "Manifest-Keys.svg" @path @optim %} "Manifest Keys")
@ -53,7 +53,7 @@ Every extension contains manifest keys, which define what your extension is and
<!-- END: Tile 1 -->
<!-- Tile 2 -->
<a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API" class="cell small-12 medium-6 tile tile-block-link">
<a href="https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API" class="cell small-12 medium-6 tile tile-block-link">
<div class="block-link" markdown="1">
![JavaScript API]({% asset "Javascript-API.svg" @path @optim %} "JavaScript API")
@ -103,7 +103,7 @@ Already have an extension that works in Chrome? Bring your app to Firefox in a f
<!-- Tile Additional Actions -->
<div class="secondary-actions" markdown="1">
Top Resources [Differences between Chrome and Firefox](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Chrome_incompatibilities) [Port a Google Chrome extension](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Porting_a_Google_Chrome_extension)
Top Resources [Differences between Chrome and Firefox](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/Chrome_incompatibilities) [Port a Google Chrome extension](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/Porting_a_Google_Chrome_extension)
</div>
@ -124,7 +124,7 @@ Starting from scratch? Its easy and fast to create your cross-browser extensi
<!-- Tile Additional Actions -->
<div class="secondary-actions" markdown="1">
Top Resources [Best practices for cross-browser extensions](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Build_a_cross_browser_extension) [Introduction to developing in Firefox](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Firefox_workflow_overview)
Top Resources [Best practices for cross-browser extensions](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/Build_a_cross_browser_extension) [Introduction to developing in Firefox](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/Firefox_workflow_overview)
</div>

Просмотреть файл

@ -10,7 +10,7 @@
<div class="grid-container grid-x grid-padding-x tiles-container">
<!-- Tile 1 -->
<a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Getting_started_with_web-ext" class="cell small-12 medium-6 tile-compact tile-block-link">
<a href="https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/Getting_started_with_web-ext" class="cell small-12 medium-6 tile-compact tile-block-link">
<div class="block-link align-start" markdown="1">
![Web-Ext]({% asset "icons/web-ext.svg" @path @optim %} "Web-Ext")
@ -69,7 +69,7 @@ Check your extension for errors, and modify the code as needed.
<div class="grid-container grid-x grid-padding-x align-center tiles-outside">
<div class="cell small-12 medium-8 large-6 text-center" markdown="1">
[More development tools](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Development_Tools)
[More development tools](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/Development_Tools)
</div>
</div>
@ -91,7 +91,7 @@ Check your extension for errors, and modify the code as needed.
<div class="grid-container grid-x grid-padding-x align-center">
<!-- Tile 1 -->
<a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Distribution" class="cell small-12 medium-6 tile-compact tile-block-link">
<a href="https://developer.mozilla.org/docs/Mozilla/Add-ons/Distribution" class="cell small-12 medium-6 tile-compact tile-block-link">
<div class="block-link align-start" markdown="1">
![Publish on Firefox]({% asset "icons/publish-on-firefox.svg" @path @optim %} "Publish on Firefox")
@ -105,7 +105,7 @@ With millions of monthly users and Firefox integration, publishing your extensio
<!-- END: Tile 1 -->
<!-- Tile 2 -->
<a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Alternative_distribution_options" class="cell small-12 medium-6 tile-compact tile-block-link">
<a href="https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/Alternative_distribution_options" class="cell small-12 medium-6 tile-compact tile-block-link">
<div class="block-link align-start" markdown="1">
![Publish on Your Own]({% asset "icons/publish-on-own.svg" @path @optim %} "Publish on Your Own")
@ -160,7 +160,7 @@ Featuring Madhava Enros, Senior Director of Firefox User Experience, and Dietric
People spend just seconds on your product page. Make those seconds count with stellar content and visuals.
[Find out how](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Listing)
[Find out how](https://developer.mozilla.org/docs/Mozilla/Add-ons/Listing)
</div>
<!-- END: Tile 2 -->
@ -174,7 +174,7 @@ People spend just seconds on your product page. Make those seconds count with st
Build in UX best practices and the positive reviews and ratings will follow.
[Learn more about usability](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/User_experience_best_practices)
[Learn more about usability](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/User_experience_best_practices)
</div>
<!-- END: Tile 3 -->

Просмотреть файл

@ -30,7 +30,7 @@ layout: landing
<a href="#news">Developer News</a>
</div>
<div class="group-b">
<a class="button" href="https://addons.mozilla.org/en-US/firefox/#login">Register or Log in</a>
<a class="button" href="https://addons.mozilla.org/firefox/#login">Register or Log in</a>
</div>
</nav>
</div>
@ -89,7 +89,7 @@ layout: landing
<p>Stay up-to-date on news and events for Firefox extension developers.</p>
<div class="newsletter" id="newsletter_wrap">
<form id="newsletter_form" name="newsletter_form" action="https://www.mozilla.org/en-US/newsletter/" method="post" data-no-csrf>
<form id="newsletter_form" name="newsletter_form" action="https://www.mozilla.org/newsletter/" method="post" data-no-csrf>
<input type="hidden" id="fmt" name="fmt" value="H">
<input type="hidden" id="newsletters" name="newsletters" value="about-addons">