summaryrefslogtreecommitdiff
path: root/crocoite/data
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2019-07-11 10:59:05 +0200
committerLars-Dominik Braun <lars@6xq.net>2019-07-13 10:32:56 +0200
commit4905ac083b5f570988446a2b9dde3a8747020f1a (patch)
treec9866b6831835526e5dbee038cf48df3de628a82 /crocoite/data
parent8761275f1f569b747cb26578e1c3411e108fb8dd (diff)
downloadcrocoite-4905ac083b5f570988446a2b9dde3a8747020f1a.tar.gz
crocoite-4905ac083b5f570988446a2b9dde3a8747020f1a.tar.bz2
crocoite-4905ac083b5f570988446a2b9dde3a8747020f1a.zip
Cookie injection support
Add command-line options injecting individual cookies or cookie file into Chrome. Provide default cookie file. This changes the IRC bot’s command splitting to shlex.split, which allows shell-like argument quoting. Fixes #7.
Diffstat (limited to 'crocoite/data')
-rw-r--r--crocoite/data/cookies.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/crocoite/data/cookies.txt b/crocoite/data/cookies.txt
new file mode 100644
index 0000000..6ac62c3
--- /dev/null
+++ b/crocoite/data/cookies.txt
@@ -0,0 +1,9 @@
+# Default cookies for crocoite. This file does *not* use Netscape’s cookie
+# file format. Lines are expected to be in Set-Cookie format.
+# And this line is a comment.
+
+# Reddit:
+# skip over 18 prompt
+over18=1; Domain=www.reddit.com
+# skip quarantined subreddit prompt
+_options={%22pref_quarantine_optin%22:true}; Domain=www.reddit.com