mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 03:24:11 +01:00
Import (and augment) my cookies plugin per Doug's suggestion, and improve dactyl.generateHelp (and :yank).
This commit is contained in:
@@ -226,6 +226,7 @@ This file contains a list of all available commands, mappings and options.
|
||||
<dt><ex>:comclear</ex></dt> <dd>Delete all user-defined commands</dd>
|
||||
<dt><ex>:command</ex></dt> <dd>List and define commands</dd>
|
||||
<dt><ex>:contexts</ex></dt> <dd>List the completion contexts used during completion of an Ex command</dd>
|
||||
<dt><ex>:cookies</ex></dt> <dd>Change cookie permissions for sites</dd>
|
||||
<dt><ex>:cunabbrev</ex></dt> <dd>Remove an abbreviation in Command-line mode</dd>
|
||||
<dt><ex>:cunmap</ex></dt> <dd>Remove a mapping in Command-line mode</dd>
|
||||
<dt><ex>:delbmarks</ex></dt> <dd>Delete a bookmark</dd>
|
||||
@@ -364,6 +365,9 @@ This file contains a list of all available commands, mappings and options.
|
||||
<dt><o>banghist</o></dt> <dd>Replace occurrences of ! with the previous command when executing external commands</dd>
|
||||
<dt><o>cdpath</o></dt> <dd>List of directories searched when executing <ex>:cd</ex></dd>
|
||||
<dt><o>complete</o></dt> <dd>Items which are completed at the <ex>:open</ex> prompts</dd>
|
||||
<dt><o>cookieaccept</o></dt> <dd>When to accept cookies</dd>
|
||||
<dt><o>cookielifetime</o></dt> <dd>The lifetime for which to accept cookies</dd>
|
||||
<dt><o>cookies</o></dt> <dd>The default mode for newly added cookie permissions</dd>
|
||||
<dt><o>defsearch</o></dt> <dd>Set the default search engine</dd>
|
||||
<dt><o>editor</o></dt> <dd>Set the external text editor</dd>
|
||||
<dt><o>encoding</o></dt> <dd>Changes the character encoding of the current buffer</dd>
|
||||
|
||||
@@ -422,6 +422,52 @@
|
||||
</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<tags>'cookieaccept' 'ca'</tags>
|
||||
<spec>'cookieaccept'</spec>
|
||||
<type>string</type>
|
||||
<default>all</default>
|
||||
<description>
|
||||
<p>When to accept cookies.</p>
|
||||
|
||||
<dl>
|
||||
<dt>all</dt> <dd>Accept all cookies</dd>
|
||||
<dt>none</dt> <dd>Accept no cookies</dd>
|
||||
<dt>samesite</dt> <dd>Accept all non-third-party cookies</dd>
|
||||
</dl>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<tags>'cl' 'cookielifetime'</tags>
|
||||
<spec>'cookielifetime'</spec>
|
||||
<type>string</type>
|
||||
<default>default</default>
|
||||
<description>
|
||||
<p>
|
||||
The lifetime for which to accept cookies. The available
|
||||
options are:
|
||||
</p>
|
||||
<dl>
|
||||
<dt>default</dt> <dd>The lifetime requested by the setter</dd>
|
||||
<dt>prompt</dt> <dd>Always prompt for a lifetime</dd>
|
||||
<dt>session</dt> <dd>The current session</dd>
|
||||
<dt><a>days</a></dt> <dd>When a number is given, it is
|
||||
interpreted as the number of days for which to keep
|
||||
cookies</dd>
|
||||
</dl>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<tags>'ck' 'cookies'</tags>
|
||||
<spec>'cookies' 'ck'</spec>
|
||||
<type>stringlist</type> <default>session</default>
|
||||
<description>
|
||||
<p>The default action for the <ex>:cookies</ex> command.</p>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<tags>'cpt' 'complete'</tags>
|
||||
<spec>'complete' 'cpt'</spec>
|
||||
|
||||
@@ -221,6 +221,38 @@
|
||||
</description>
|
||||
</item>
|
||||
|
||||
<h3 tag="cookie-settings">Cookie Settings</h3>
|
||||
<item>
|
||||
<tags>:cookies :ck</tags>
|
||||
<spec>:cookies <a>host</a> <oa>action</oa> …</spec>
|
||||
<description>
|
||||
<p>
|
||||
Manage cookies for <a>host</a>. Additionally, the completion
|
||||
list will show you information about the cookies and
|
||||
permissions for the current page.
|
||||
</p>
|
||||
|
||||
<p>Available actions:</p>
|
||||
|
||||
<dl>
|
||||
<dt>unset</dt> <dd>Unset special permissions for <a>host</a></dd>
|
||||
<dt>allow</dt> <dd>Allow cookies from <a>host</a></dd>
|
||||
<dt>deny</dt> <dd>Deny cookies from <a>host</a></dd>
|
||||
<dt>session</dt> <dd>Allow cookies from <a>host</a> for the current session</dd>
|
||||
<dt>list</dt> <dd>List all cookies for <a>host</a></dd>
|
||||
<dt>clear</dt> <dd>Clear all cookies for <a>host</a></dd>
|
||||
<dt>clear-persistent</dt> <dd>Clear all persistent cookies for <a>host</a></dd>
|
||||
<dt>clear-session</dt> <dd>Clear all session cookies for <a>host</a></dd>
|
||||
</dl>
|
||||
|
||||
<p>
|
||||
If no <oa>action</oa> is given, the value of <o>cookies</o> is used.
|
||||
</p>
|
||||
|
||||
<example>:map -b c :cookies <k name="A-Tab"/></example>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
<h2 tag="online-help">Online help</h2>
|
||||
|
||||
<item>
|
||||
|
||||
Reference in New Issue
Block a user