X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=templates%2Fblocked;h=5510e56b1746d10abe73eb638a6bead99ae90fd5;hb=f27efbd7d2d8ccad11e6fc4ef30db26db0d4a948;hp=7a67ca578d3ab2dc3fd7b897bb136763595e2249;hpb=2088c1e22366faf86ff801f6e8912eacbca0ec68;p=privoxy.git diff --git a/templates/blocked b/templates/blocked index 7a67ca57..5510e56b 100644 --- a/templates/blocked +++ b/templates/blocked @@ -13,7 +13,7 @@ # # Template files are written in plain HTML, with a few # additions: -# +# # - Lines that start with a '#' character like this one # are ignored # @@ -28,7 +28,7 @@ # strings @if-start and if--end@. The strings # should be placed in HTML comments (), so the # html structure won't be messed when the magic happens. -# +# # USABLE SYMBOLS IN THIS TEMPLATE: # -------------------------------- # @@ -82,7 +82,7 @@ # force-support: # Privoxy has been compiled with support for forced loading # of blocked content. In that case, the symbol "force-prefix" is -# avaiable, which translates to the FORCE_PREFIX +# avaiable, which translates to the FORCE_PREFIX # @@ -90,8 +90,9 @@ Request blocked (Privoxy@@my-hostname@) - + + @@ -106,20 +107,20 @@ minWidth = 650; minHeight = 330; - /* + /* * Navigator, Mozilla, Opera */ - if (window.innerWidth - && (window.innerWidth >= minWidth) + if (window.innerWidth + && (window.innerWidth >= minWidth) && (window.innerHeight >= minHeight)) { return false; } - - /* + + /* * MSIE */ - else if (document.body && document.body.clientWidth + else if (document.body && document.body.clientWidth && (document.body.clientWidth >= minWidth) && (document.body.clientHeight >= minHeight)) { @@ -145,10 +146,15 @@ { document.write('\

\ - Privoxy blocked @protocol@@hostport@@path@. \ -
See why \ + Request blocked by Privoxy: @block-reason@ \ +
See why this block applies \ \ - or go there anyway. \ + or go \ + \ + to @protocol@@hostport@@path@ \ + \ + anyway. \ \

\ '); @@ -178,7 +184,7 @@

\ Please note that this @code-status@ release \ of the proxy software is not intended for production systems! \ -
Use at your own risk. See the license for details.
\ +
Use at your own risk. See the license for details. \

\ \ \ @@ -188,8 +194,10 @@ \

Request for blocked URL

\

Your request for @protocol@@hostport@@path@ was blocked. \ -
See why \ - \ +
Block reason: @block-reason@ \ +
See why this block applies \ + \ or go there anyway. \ \

\ @@ -262,10 +270,15 @@