From 43c6915d10f5e6357d30541a5db24918c9bb1e99 Mon Sep 17 00:00:00 2001 From: jongfoster Date: Tue, 13 Nov 2001 00:58:18 +0000 Subject: [PATCH] New version of actions file editor templates --- templates/edit-actions-add-url-form | 174 ++++ templates/edit-actions-for-url | 1325 +++++++++++++----------- templates/edit-actions-list | 321 ++++-- templates/edit-actions-list-section | 130 ++- templates/edit-actions-list-url | 60 +- templates/edit-actions-remove-url-form | 158 +++ templates/edit-actions-url-form | 177 ++++ 7 files changed, 1564 insertions(+), 781 deletions(-) create mode 100644 templates/edit-actions-add-url-form create mode 100644 templates/edit-actions-remove-url-form create mode 100644 templates/edit-actions-url-form diff --git a/templates/edit-actions-add-url-form b/templates/edit-actions-add-url-form new file mode 100644 index 00000000..92227f9d --- /dev/null +++ b/templates/edit-actions-add-url-form @@ -0,0 +1,174 @@ +############################################################################## +# +# File : $Source: /cvsroot/ijbswa/current/cgi.c,v $ +# +# Purpose : Template used to add a URL pattern to the actions file. +# +# +# Copyright : Written by and Copyright (C) 2001 the SourceForge +# IJBSWA team. http://ijbswa.sourceforge.net +# +# Original Author: Copyright (C) 2001 Jonathan Foster +# http://www.jon-foster.co.uk/ +# +# This program is free software; you can redistribute it +# and/or modify it under the terms of the GNU General +# Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will +# be useful, but WITHOUT ANY WARRANTY; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU General Public +# License for more details. +# +# The GNU General Public License should be included with +# this file. If not, you can view it at +# http://www.gnu.org/copyleft/gpl.html +# or write to the Free Software Foundation, Inc., 59 +# Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Revisions : +# $Log$ +# +############################################################################## +# +# Standard support: +# +# This file currently produces valid HTML 4.01 Strict. +# +# If you change it, please save the generated page from your web browser +# and then upload it to http://validator.w3.org/ for checking. +# +############################################################################# +# +# Available variables include: +# +# filename +# ver +# section +# +############################################################################# + + + + + + + + + +JunkBuster: Edit URL Pattern + + + + + + + + + + + + + + + +# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in + + + + + + + + + + + + + + + + + + + + + + + +
+

This is the Internet + JUNKBUSTER + @version@ on @my-hostname@ (@my-ip-address@), + port @my-port@, + @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@

+
+

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.
+

+ +

Feel free to mail the developers + with any problems you encounter. +

+
+

Add URL Pattern

+
+

+ + + +
+   +   + Cancel +

+
+
+

More Junkbuster:

+
    @menu@
+
+

Local Junkbuster support:

+ + +

You can consult the online documentation for more information about this Junkbuster installation. + + + +

Address e-mail questions about this service to + @admin-address@, + who will be glad to help you. + + +

+
+ Valid HTML 4.01 Strict +
+ + + + + diff --git a/templates/edit-actions-for-url b/templates/edit-actions-for-url index 2c6a5b6d..7fc400de 100644 --- a/templates/edit-actions-for-url +++ b/templates/edit-actions-for-url @@ -1,633 +1,692 @@ - - - - - - - - -JunkBuster: Edit actions - - - - - - - - -

 

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ActionDescriptionEnableDisableNo Change
+add-headerAdds HTTP headers.
 To edit the settings for this option, and then - click "Submit".
+blockBlock the request
+deanimate-gifsReplace animated GIFs with their (first/last) frame.
 Use the   
+fast-redirectsBypass some tracking URLs.
+filterFilter the website through the re_filterfile
+hide-forwardedBlock any existing X-Forwarded-for header, and do not add a new one.
+hide-fromStop old web browsers from sending the user's e-mail address with - every request.
 
-
-
+hide-refererHelps prevent tracking by not sending the URL of the previous web - page. 
  (breaks images - on some free web hosts).
- (fools checks for in-site links.)
-
-
+hide-user-agentPretend to be using a different web browser.  (Breaks many web - sites).
 User Agent string to send:
-
+imageRequest is for an image (only useful in conjunction with the +block - and +image-blocker options).
+image-blockerSpecifies how to block images.  Disable to always send a HTML - "blocked" page.
 
-
-
-
+no-cookies-readPrevent the website from reading cookies
+no-cookies-setPrevent the website from setting cookies
+no-popupsFilter the website through a built-in filter to disable JavaScript - pop-up windows.
+vanilla-waferIf you use a jarfile, automatically adds a special wafer.
+waferAdds user-specified cookies.
 To edit the settings for this option, and then click - "Submit".
- -

-
-

 

- - - - -# -# GPL2+ -# -# Available variables: -# -# deanimate-gifs-param-first -# deanimate-gifs-param-last -# hide-from-param-block -# hide-from-param-custom -# hide-from-param -# hide-referer-param-forge -# hide-referer-param-block -# hide-referer-param-custom -# hide-referer-param -# hide-user-agent-param -# image-blocker-param-logo -# image-blocker-param-blank -# image-blocker-param-custom -# image-blocker-param-logo -# -# - +############################################################################## +# +# File : $Source: /cvsroot/ijbswa/current/cgi.c,v $ +# +# Purpose : Template used to edit the actions associated with a +# particular section in an actions file. +# +# +# Copyright : Written by and Copyright (C) 2001 the SourceForge +# IJBSWA team. http://ijbswa.sourceforge.net +# +# Original Author: Copyright (C) 2001 Jonathan Foster +# http://www.jon-foster.co.uk/ +# +# This program is free software; you can redistribute it +# and/or modify it under the terms of the GNU General +# Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will +# be useful, but WITHOUT ANY WARRANTY; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU General Public +# License for more details. +# +# The GNU General Public License should be included with +# this file. If not, you can view it at +# http://www.gnu.org/copyleft/gpl.html +# or write to the Free Software Foundation, Inc., 59 +# Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Revisions : +# $Log$ +# +############################################################################## +# +# Browser support for the JavaScript on this page: +# MS Internet Explorer 5.5 - Tested, Yes +# Netscape 6.0 - Tested, Yes +# Netscape 4.75 - Tested, NO +# Opera 5.12 - Tested, NO +# MS Internet Explorer 4+ - Untested, Yes +# MS IE 3.x, NS3.x - Untested, NO +# Mozilla >=0.6 - Untested, Yes +# +# All browsers should work, you just might not get the pretty DHTML effects. +# +# The effects that only work under the browsers marked "Yes" above are: +# - Text edit boxes that won't have any effect are disabled. +# - Table rows containing additional settings are hidden if the feature in +# question is disabled. +# +# There are major kludges to get around these problems with NS4, but they +# screw up the HTML too much for other browsers. If anyone wants to try, +# here's some descriptions of the kludges: +# http://www.webreference.com/js/tips/991114.html +# http://www.webreference.com/dhtml/column12/outDisplay.html +# +# If you're favorite browser isn't listed, please test and add it. +# +# +############################################################################# +# +# Standard support: +# +# This file currently produces valid HTML 4.01 Strict. +# +# If you change it, please save the generated page from your web browser +# and then upload it to http://validator.w3.org/ for checking. +# +############################################################################# +# +# Available variables include: +# +# action-name-y +# action-name-n +# action-name-x +# +# deanimate-gifs-param-first +# deanimate-gifs-param-last +# hide-from-param-block +# hide-from-param-custom +# hide-from-param +# hide-referer-param-forge +# hide-referer-param-block +# hide-referer-param-custom +# hide-referer-param +# hide-user-agent-param +# image-blocker-param-logo +# image-blocker-param-blank +# image-blocker-param-custom +# image-blocker-param-logo +# +# +############################################################################# + + + + + + + + + +JunkBuster: Edit actions + + + + + + + + +
+ + + + + + + +# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in + + + + + + + + +
+

This is the Internet + JUNKBUSTER + @version@ on @my-hostname@ (@my-ip-address@), + port @my-port@, + @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@

+
+

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.
+

+ +

Feel free to mail the developers + with any problems you encounter. +

+
+

Edit Actions + + + +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Action + DescriptionEnableDisableNo Change
+add-headerAdds HTTP headers.
 To edit the settings for this option, and then + click "Submit".
+blockBlock the request
+deanimate-gifsReplace animated GIFs with their (first/last) frame.
 Use the   
+fast-redirectsBypass some tracking URLs.
+filterFilter the website through the re_filterfile
+hide-forwardedBlock any existing X-Forwarded-for header, and do not add a new one.
+hide-fromStop old web browsers from sending the user's e-mail address with + every request.
 
+
+
+hide-refererHelps prevent tracking by not sending the URL of the previous web + page. 
  (breaks images + on some free web hosts).
+ (fools checks for in-site links.)
+
+
+hide-user-agentPretend to be using a different web browser.  (Breaks many web + sites).
 User Agent string to send:
+
+imageRequest is for an image (only useful in conjunction with the +block + and +image-blocker options).
+image-blockerSpecifies how to block images.  Disable to always send a HTML + "blocked" page.
 
+
+
+
+no-cookies-readPrevent the website from reading cookies
+no-cookies-setPrevent the website from setting cookies
+no-popupsFilter the website through a built-in filter to disable JavaScript + pop-up windows.
+vanilla-waferIf you use a jarfile, automatically adds a special wafer.
+waferAdds user-specified cookies.
 To edit the settings for this option, and then click + "Submit".
+ + + + + + + + + + + + + + + + + + + + + + + +
+

+
+

More Junkbuster:

+
    @menu@
+
+

Local Junkbuster support:

+ + +

You can consult the online documentation for more information about this Junkbuster installation. + + + +

Address e-mail questions about this service to + @admin-address@, + who will be glad to help you. + + +

+
+ Valid HTML 4.01 Strict +
+
+ + + + + diff --git a/templates/edit-actions-list b/templates/edit-actions-list index 846af133..1bc0bcb9 100644 --- a/templates/edit-actions-list +++ b/templates/edit-actions-list @@ -1,95 +1,226 @@ - - - - - - - - -JunkBuster: Edit actions list - - - - - - - -

Editing @filename@.action

- -

-

- -
-

- -@sections@ - - - - +############################################################################## +# +# File : $Source: /cvsroot/ijbswa/current/cgi.c,v $ +# +# Purpose : Template used to edit the actions file. +# +# +# Copyright : Written by and Copyright (C) 2001 the SourceForge +# IJBSWA team. http://ijbswa.sourceforge.net +# +# Original Author: Copyright (C) 2001 Jonathan Foster +# http://www.jon-foster.co.uk/ +# +# This program is free software; you can redistribute it +# and/or modify it under the terms of the GNU General +# Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will +# be useful, but WITHOUT ANY WARRANTY; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU General Public +# License for more details. +# +# The GNU General Public License should be included with +# this file. If not, you can view it at +# http://www.gnu.org/copyleft/gpl.html +# or write to the Free Software Foundation, Inc., 59 +# Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Revisions : +# $Log$ +# +############################################################################## +# +# Browser support for the CSS on this page: +# MS Internet Explorer 5.5 - Yes - everything works. +# Netscape 6.2 - Yes - everything works. +# Netscape 4.75 - No - CSS buttons look really bad, but they are +# usable. Everything else works. +# Opera 5.12 - Yes - everything works. +# MS Internet Explorer 4+ - Untested +# MS IE 3.x, NS3.x - Untested (Don't support CSS, so everything +# should work, but will look ugly). +# Mozilla >=0.6 - Untested +# +# All browsers should work, you just might not get the pretty CSS buttons. +# +# If you're favorite browser isn't listed/tested, please test and add it. +# +# +############################################################################# +# +# Standard support: +# +# This file currently produces valid HTML 4.01 Strict. +# +# If you change it, please save the generated page from your web browser +# and then upload it to http://validator.w3.org/ for checking. +# +############################################################################# +# +# Available variables include: +# +# filename +# ver +# +# +############################################################################# + + + + + + + + + +JunkBuster: Edit actions file - @filename@.action + + + + + + + + + + + + + + +# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in + + + + + + + + +
+

This is the Internet + JUNKBUSTER + @version@ on @my-hostname@ (@my-ip-address@), + port @my-port@, + @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@

+
+

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.
+

+ +

Feel free to mail the developers + with any problems you encounter. +

+
+

Editing Actions File - @filename@.action

+

+ Insert new section at top +

+
+ +@sections@ + + + + + + + + + + + + + + + + +
+

More Junkbuster:

+
    @menu@
+
+

Local Junkbuster support:

+ + +

You can consult the online documentation for more information about this Junkbuster installation. + + + +

Address e-mail questions about this service to + @admin-address@, + who will be glad to help you. + + +

+
+ Valid HTML 4.01 Strict +
+ + + + diff --git a/templates/edit-actions-list-section b/templates/edit-actions-list-section index 8a05856a..68c07bf9 100644 --- a/templates/edit-actions-list-section +++ b/templates/edit-actions-list-section @@ -1,51 +1,91 @@ -
- - - - - - - - - - - - - - +############################################################################## +# +# File : $Source: /cvsroot/ijbswa/current/cgi.c,v $ +# +# Purpose : Template which forms part of edit-actions-list +# +# +# Copyright : Written by and Copyright (C) 2001 the SourceForge +# IJBSWA team. http://ijbswa.sourceforge.net +# +# Original Author: Copyright (C) 2001 Jonathan Foster +# http://www.jon-foster.co.uk/ +# +# This program is free software; you can redistribute it +# and/or modify it under the terms of the GNU General +# Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will +# be useful, but WITHOUT ANY WARRANTY; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU General Public +# License for more details. +# +# The GNU General Public License should be included with +# this file. If not, you can view it at +# http://www.gnu.org/copyleft/gpl.html +# or write to the Free Software Foundation, Inc., 59 +# Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Revisions : +# $Log$ +# +############################################################################# +# +# Available variables include: +# +# filename +# ver +# sectionid +# urls +# +############################################################################# +
Actions:@actions@
----
URLs: 
+ + + + + + + + + + + + + @urls@ - - - - - - - -
Actions:Edit@actions@
----
URLs:Add 
----
Advanced: - - - - - - - - - -
            
            
-
-
-

 

+ + - + + + Advanced: + + + + + + + + + + +
  Move section up     + Insert new section below  
  Move section down     + Delete whole section  
+ + +

 

diff --git a/templates/edit-actions-list-url b/templates/edit-actions-list-url index 55493252..389317ed 100644 --- a/templates/edit-actions-list-url +++ b/templates/edit-actions-list-url @@ -1,9 +1,53 @@ - -   - - - @url@ - +############################################################################## +# +# File : $Source: /cvsroot/ijbswa/current/cgi.c,v $ +# +# Purpose : Template which forms part of edit-actions-list +# +# +# Copyright : Written by and Copyright (C) 2001 the SourceForge +# IJBSWA team. http://ijbswa.sourceforge.net +# +# Original Author: Copyright (C) 2001 Jonathan Foster +# http://www.jon-foster.co.uk/ +# +# This program is free software; you can redistribute it +# and/or modify it under the terms of the GNU General +# Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will +# be useful, but WITHOUT ANY WARRANTY; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU General Public +# License for more details. +# +# The GNU General Public License should be included with +# this file. If not, you can view it at +# http://www.gnu.org/copyleft/gpl.html +# or write to the Free Software Foundation, Inc., 59 +# Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Revisions : +# $Log$ +# +############################################################################# +# +# Available variables include: +# +# filename +# ver +# sectionid +# urls +# +############################################################################# + +  +Remove   Edit  +@url-html@ + diff --git a/templates/edit-actions-remove-url-form b/templates/edit-actions-remove-url-form new file mode 100644 index 00000000..4fb67cfc --- /dev/null +++ b/templates/edit-actions-remove-url-form @@ -0,0 +1,158 @@ +############################################################################## +# +# File : $Source: /cvsroot/ijbswa/current/cgi.c,v $ +# +# Purpose : Template used to confirm removal of a particular URL +# pattern from an actions file. Only used on browsers that +# don't support JavaScript. +# +# +# Copyright : Written by and Copyright (C) 2001 the SourceForge +# IJBSWA team. http://ijbswa.sourceforge.net +# +# Original Author: Copyright (C) 2001 Jonathan Foster +# http://www.jon-foster.co.uk/ +# +# This program is free software; you can redistribute it +# and/or modify it under the terms of the GNU General +# Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will +# be useful, but WITHOUT ANY WARRANTY; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU General Public +# License for more details. +# +# The GNU General Public License should be included with +# this file. If not, you can view it at +# http://www.gnu.org/copyleft/gpl.html +# or write to the Free Software Foundation, Inc., 59 +# Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Revisions : +# $Log$ +# +############################################################################## +# +# Standard support: +# +# This file currently produces valid HTML 4.01 Strict. +# +# If you change it, please save the generated page from your web browser +# and then upload it to http://validator.w3.org/ for checking. +# +############################################################################# +# +# Available variables include: +# +# filename +# ver +# section +# pattern +# oldval +# +############################################################################# + + + + + + + + + +JunkBuster: Remove URL Pattern + + + + + + + + + + + + + +# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in + + + + + + + + + + + + + + + + + + + + + + + +
+

This is the Internet + JUNKBUSTER + @version@ on @my-hostname@ (@my-ip-address@), + port @my-port@, + @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@

+
+

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.
+

+ +

Feel free to mail the developers + with any problems you encounter. +

+
+

Remove URL Pattern

+

Are you sure you want to delete this URL pattern? The pattern is:

+

@oldval@

+

+ OK +   + Cancel +

+
+

More Junkbuster:

+
    @menu@
+
+

Local Junkbuster support:

+ + +

You can consult the online documentation for more information about this Junkbuster installation. + + + +

Address e-mail questions about this service to + @admin-address@, + who will be glad to help you. + + +

+
+ Valid HTML 4.01 Strict +
+ + + + + diff --git a/templates/edit-actions-url-form b/templates/edit-actions-url-form new file mode 100644 index 00000000..69055c63 --- /dev/null +++ b/templates/edit-actions-url-form @@ -0,0 +1,177 @@ +############################################################################## +# +# File : $Source: /cvsroot/ijbswa/current/cgi.c,v $ +# +# Purpose : Template used to edit a URL pattern in an actions file. +# +# +# Copyright : Written by and Copyright (C) 2001 the SourceForge +# IJBSWA team. http://ijbswa.sourceforge.net +# +# Original Author: Copyright (C) 2001 Jonathan Foster +# http://www.jon-foster.co.uk/ +# +# This program is free software; you can redistribute it +# and/or modify it under the terms of the GNU General +# Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will +# be useful, but WITHOUT ANY WARRANTY; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU General Public +# License for more details. +# +# The GNU General Public License should be included with +# this file. If not, you can view it at +# http://www.gnu.org/copyleft/gpl.html +# or write to the Free Software Foundation, Inc., 59 +# Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Revisions : +# $Log$ +# +############################################################################## +# +# Standard support: +# +# This file currently produces valid HTML 4.01 Strict. +# +# If you change it, please save the generated page from your web browser +# and then upload it to http://validator.w3.org/ for checking. +# +############################################################################# +# +# Available variables include: +# +# filename +# ver +# section +# pattern +# oldval +# +############################################################################# + + + + + + + + + +JunkBuster: Edit URL Pattern + + + + + + + + + + + + + + + +# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in + + + + + + + + + + + + + + + + + + + + + + + +
+

This is the Internet + JUNKBUSTER + @version@ on @my-hostname@ (@my-ip-address@), + port @my-port@, + @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@

+
+

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.
+

+ +

Feel free to mail the developers + with any problems you encounter. +

+
+

Edit URL Pattern

+
+

+ + + + +
+   +   + Cancel +

+
+
+

More Junkbuster:

+
    @menu@
+
+

Local Junkbuster support:

+ + +

You can consult the online documentation for more information about this Junkbuster installation. + + + +

Address e-mail questions about this service to + @admin-address@, + who will be glad to help you. + + +

+
+ Valid HTML 4.01 Strict +
+ + + + + -- 2.39.2