diff options
| author | Lars Ingebrigtsen | 2019-09-24 17:48:35 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-09-24 17:48:41 +0200 |
| commit | ea5c79f657a9e2826073896ea00e6000ccc04a8d (patch) | |
| tree | a0b3b5d4f427f4d221c8d3bfe97fac38512b8338 /etc | |
| parent | 9dcdb1384df51a568af5ec35c9f0a762d3cf205b (diff) | |
| download | emacs-ea5c79f657a9e2826073896ea00e6000ccc04a8d.tar.gz emacs-ea5c79f657a9e2826073896ea00e6000ccc04a8d.zip | |
Allow controlling when to send cookies when retrieving images in shr
* lisp/net/shr.el (shr--use-cookies-p): New function.
(shr-tag-img): Use it.
(shr-cookie-policy): New variable.
(shr-save-contents): Use cookies.
* doc/misc/eww.texi (Advanced): Document it.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -1118,6 +1118,12 @@ The variable to use instead to alter text to be sent is now | |||
| 1118 | ** eww/shr | 1118 | ** eww/shr |
| 1119 | 1119 | ||
| 1120 | +++ | 1120 | +++ |
| 1121 | *** The new variable 'shr-cookie-policy' can be used to control when | ||
| 1122 | to use cookies when fetching embedded images. The default is to use | ||
| 1123 | them when the images are from the same domain as the main HTML | ||
| 1124 | document. | ||
| 1125 | |||
| 1126 | +++ | ||
| 1121 | *** The 'eww' command can now create a new EWW buffer. | 1127 | *** The 'eww' command can now create a new EWW buffer. |
| 1122 | Invoking the command with a prefix argument will cause it to create a | 1128 | Invoking the command with a prefix argument will cause it to create a |
| 1123 | new EWW buffer for the URL instead of reusing the default one. | 1129 | new EWW buffer for the URL instead of reusing the default one. |