Variable: shr-cookie-policy

shr-cookie-policy is a customizable variable defined in shr.el.gz.

Value

same-origin

Documentation

When to use cookies when fetching dependent data like images.

If t, always use cookies. If nil, never use cookies. If same-origin, use cookies if the dependent data comes from the same domain as the main data.

This variable was added, or its default value changed, in Emacs 27.1.

Probably introduced at or before Emacs version 27.1.

Source Code

;; Defined in /usr/src/emacs/lisp/net/shr.el.gz
(defcustom shr-cookie-policy 'same-origin
  "When to use cookies when fetching dependent data like images.
If t, always use cookies.  If nil, never use cookies.  If
`same-origin', use cookies if the dependent data comes from the
same domain as the main data."
  :type '(choice (const :tag "Always use cookies" t)
                 (const :tag "Never use cookies" nil)
                 (const :tag "Use cookies for same domain" same-origin))
  :version "27.1")