Export Cookies

Export cookies to various formats in one click!

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
138 Aspen
今日安裝
0
安裝總數
8
評價
0 0 0
版本
0.2.1
建立日期
2025-12-05
更新日期
2025-12-05
尺寸
11.2 KB
授權條款
GPL-3.0
腳本執行於
所有網站

Greasy Fork

🪄 Features

This script allows you to export cookies from the current page to files or clipboard. Currently supports the following formats:

  • cookies.txt: Netscape HTTP Cookie file
  • cookies.json: JSON format
  • Clipboard copy: Copy cookies directly to clipboard in either format

📚 Usage

Right-click on any page and select Tampermonkey - Export Cookies. Then choose one of the following options:

  • Enter 1 to export as Netscape format (cookies.txt)
  • Enter 2 to export as JSON format (cookies.json)
  • Enter 3 to copy Netscape format to clipboard
  • Enter 4 to copy JSON format to clipboard

⚠️ Notes

Please note:

  • You need to add .json extension to the whitelist in Tampermonkey's options page to export as cookies.json. (.txt is whitelisted by default)
  • httpOnly cookies are only supported in Tampermonkey BETA versions.
  • Clipboard functionality requires the GM_setClipboard permission.

✨ Acknowledgment