X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=templates%2Fblocked;h=eeb5f8cc243ae123eca8c2fa5d34e12e989cf0e8;hp=fdc86d77f40cc27cb42e1a536d31a8080857a00f;hb=3f20562288a29b411df49afcdf22c45d34a7c98a;hpb=d00e3886cd6afbb7d9f15835db4f76352bbaf477 diff --git a/templates/blocked b/templates/blocked index fdc86d77..eeb5f8cc 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 # @@ -107,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)) { @@ -146,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. \ \

\ '); @@ -179,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. \

\ \ \ @@ -189,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. \ \

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