w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

README.pre_form (1464B)


      1 pre_form: Feature to configure form parameters when opening specific site.
      2 
      3 It would be convinient for sites where you often visit, but it may introduce
      4 some security issues.  Be careful to use this feature, especially `submit'
      5 params described below.
      6 
      7 Default configuration file for pre_form is ~/.w3m/pre_form.
      8 
      9 Syntax as follows:
     10 
     11 url       <url>|/<re-url>/
     12 form      [<name>] <action>
     13 text      <name>  <value>
     14 file      <name>  <value>
     15 password  <name>  <value>
     16 checkbox  <name>  <value>  [<checked>]
     17 radio     <name>  <value>
     18 section   <name>  <value>
     19 submit   [<name> [<value>]]
     20 image    [<name> [<value>]]
     21 textarea  <name>
     22 <value>
     23    :
     24 /textarea
     25 
     26 If <action> is set, form which has matched <action> attributes
     27 will be configured by this pre_form.
     28 
     29 The line begining with text, file, passwd, select, textarea means that
     30 it will set value to <value> in input, select or textarea element which 
     31 name  attribute matches with <name>.
     32 
     33 The line beginning with checkbox, radio means that it will check
     34 input element which name and value attribute matches with <name> and <value>
     35 respectively.  If <checked> is 0, no, or off, disable check of the checkbox.
     36 
     37 The line beginning with submit or image means that it will submit input
     38 element which name attribute matches with <name> (and value attribute
     39 matches with <value>), or submit last <input type=submit> element if no
     40 <name> specified.
     41 
     42 You quote \, ' (single-quote) or " (double quote) as you do in shell.
     43 
     44 
     45