Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/web/templates/adblockplus.org.conf.erb

Issue 29548672: Issue 5709 - Added new redirects for new options page (Closed)
Patch Set: Created Sept. 18, 2017, 2:56 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/web/templates/adblockplus.org.conf.erb
diff --git a/modules/web/templates/adblockplus.org.conf.erb b/modules/web/templates/adblockplus.org.conf.erb
index e5edb5d5f0d1c1f29851e82c272496e9c9c39355..369aac32b59514a2106839e1ea70dc240bb721a5 100644
--- a/modules/web/templates/adblockplus.org.conf.erb
+++ b/modules/web/templates/adblockplus.org.conf.erb
@@ -184,6 +184,81 @@ location /redirect
{
rewrite ^ https://play.google.com/store/apps/details?id=org.adblockplus.adblockplussbrowser? redirect;
}
+ if ($arg_link = "adblock_plus_chrome_dnt")
+ {
+ rewrite ^ https://support.google.com/chrome/answer/2790761? redirect;
+ }
+ if ($arg_link = "adblock_plus_firefox_dnt")
+ {
+ rewrite ^ https://www.mozilla.org/en-US/firefox/dnt/? redirect;
+ }
+ if ($arg_link = "adblock_plus_opera_dnt")
+ {
+ rewrite ^ http://help.opera.com/Windows/12.10/en/notrack.html? redirect;
+ }
+ if ($arg_link = "adblock_plus_edge_dnt")
+ {
+ rewrite ^ https://privacy.microsoft.com/en-us/windows-10-microsoft-edge-and-privacy? redirect;
+ }
+ if ($arg_link = "adblock_plus_report_bug")
+ {
+ rewrite ^ https://adblockplus.org/bugs#reporting? redirect;
+ }
+ if ($arg_link = "adblock_plus_report_ad")
+ {
+ rewrite ^ https://forums.lanik.us/viewforum.php?f=62? redirect;
+ }
+
+ set $forum_id "64";
+ set $forum_link "";
+ if ($arg_link = "adblock_plus_report_issue")
+ {
+ set $forum_link "https://forums.lanik.us/viewforum.php?f=";
+ }
+ if ($lang = "id")
+ {
+ set $forum_id "94";
+ }
+ if ($lang = "nl")
+ {
+ set $forum_id "100";
+ }
+ if ($lang = "de")
+ {
+ set $forum_id "90";
+ }
+ if ($lang = "it")
+ {
+ set $forum_id "96";
+ }
+ if ($lang = "es")
+ {
+ set $forum_id "103";
+ }
+ if ($lang = "lt")
+ {
+ set $forum_id "101";
+ }
+ if ($lang = "lv")
+ {
+ set $forum_id "99";
+ }
+ if ($lang = "ar")
+ {
+ set $forum_id "98";
+ }
+ if ($lang = "fr")
+ {
+ set $forum_id "91";
+ }
+ if ($lang = "ru")
+ {
+ set $forum_id "102";
+ }
+ if ($forum_link != "")
+ {
+ rewrite ^ $forum_link$forum_id? redirect;
+ }
if ($arg_link = "releases")
{
rewrite ^ /releases? redirect;
@@ -267,6 +342,11 @@ location /redirect
{
set $link "contributors";
}
+ if ($arg_link = "whitelist")
+ {
+ set $link "faq_basics";
+ set $anchor "#disable";
+ }
if ($link = "")
{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld