Let the user control how links in the templates are opened
authorFabian Keil <fk@fabiankeil.de>
Wed, 20 Mar 2013 11:33:02 +0000 (11:33 +0000)
committerFabian Keil <fk@fabiankeil.de>
Wed, 20 Mar 2013 11:33:02 +0000 (11:33 +0000)
Enforcing new windows is rude.

templates/blocked
templates/toggle-mini

index 3da06f2..dd0e076 100644 (file)
    <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@" \
    <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@ --> \
     <!-- @if-force-support-start --> \
     or <a href="http://@hostport@@force-prefix@@path@">go \
     <!-- if-force-support-end@ --> \
         <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@" \
         <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@ --> \
 <!-- @if-force-support-start --> \
           or <a href="http://@hostport@@force-prefix@@path@">go there anyway</a>. \
 <!-- if-force-support-end@ --> \
 
   <noscript>
    <p class="small" align="center">
 
   <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@"
     <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@ -->
     <!-- @if-force-support-start -->
     or <a href="http://@hostport@@force-prefix@@path@">go
     <!-- if-force-support-end@ -->
index de9ad42..02946cd 100644 (file)
@@ -81,7 +81,7 @@
 
 <body>
   <p class="whiteframed">
 
 <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> |
     <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> |