From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 20 Mar 2013 11:33:02 +0000 (+0000)
Subject: Let the user control how links in the templates are opened
X-Git-Tag: v_3_0_22~260
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/user-manual/faq/static/gitweb.js?a=commitdiff_plain;h=22527fea1c44cc8882cef8c700cc9e92f4a11c39;p=privoxy.git

Let the user control how links in the templates are opened

Enforcing new windows is rude.
---

diff --git a/templates/blocked b/templates/blocked
index 3da06f28..dd0e0764 100644
--- a/templates/blocked
+++ b/templates/blocked
@@ -148,7 +148,7 @@
    <p class="small" align="center"> \
     Request blocked by <a href="@default-cgi@" target="_blank">Privoxy</a>: @block-reason@ \
     <br>See <a href="@default-cgi@show-url-info?url=@hostport@@path-ue@" \
-     target="_blank">why this block applies</a> \
+     >why this block applies</a> \
     <!-- @if-force-support-start --> \
     or <a href="http://@hostport@@force-prefix@@path@">go \
     <!-- if-force-support-end@ --> \
@@ -196,7 +196,7 @@
         <p>Your request for <b>@protocol@@hostport@@path@</b> was blocked. \
          <br>Block reason: @block-reason@ \
          <br><a href="@default-cgi@show-url-info?url=@hostport@@path-ue@" \
-         target="_blank">See why this block applies</a> \
+          >See why this block applies</a> \
 <!-- @if-force-support-start --> \
           or <a href="http://@hostport@@force-prefix@@path@">go there anyway</a>. \
 <!-- if-force-support-end@ --> \
@@ -270,9 +270,9 @@
 
   <noscript>
    <p class="small" align="center">
-    Request blocked by <a href="@default-cgi@" target="_blank">Privoxy</a>: @block-reason@
+    Request blocked by <a href="@default-cgi@">Privoxy</a>: @block-reason@
     <br>See <a href="@default-cgi@show-url-info?url=@hostport@@path-ue@"
-     target="_blank">why this block applies</a>
+     >why this block applies</a>
     <!-- @if-force-support-start -->
     or <a href="http://@hostport@@force-prefix@@path@">go
     <!-- if-force-support-end@ -->
diff --git a/templates/toggle-mini b/templates/toggle-mini
index de9ad42d..02946cde 100644
--- a/templates/toggle-mini
+++ b/templates/toggle-mini
@@ -81,7 +81,7 @@
 
 <body>
   <p class="whiteframed">
-    <a href="@default-cgi@" target="_blank">Privoxy</a> is
+    <a href="@default-cgi@">Privoxy</a> is
     <b>@if-enabled-display-then@enabled@else-not-enabled-display@disabled@endif-enabled-display@</b>.
     <br><a href="@default-cgi@toggle?mini=y&amp;set=@if-enabled-display-then@disable@else-not-enabled-display@enable@endif-enabled-display@"
     >@if-enabled-display-then@[Disable]@else-not-enabled-display@[Enable]@endif-enabled-display@</a> |