matei-tm / cookie-sync-to-local

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cookie-sync-to-local

Quick sync a cookie value to localhost

Chrome extension for quick sync a cookie value from the current url to localhost

Usage

Edit popup.js

Before using it setup the tracked cookie name.
In popup.js edit cookieName variable and change its value for the desired target.

const cookieName =  "MyCustomCookie";

Load to Chrome

Go to chrome extensions Load the extension using "Load unpacked"

Filtering the source url

If you need to restrict the list of candidate urls place the filtered values in manifest.json. Edit the file and set the "host_permissions" property

Credits

Based on Chrome extensions sample https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api/cookies/cookie-clearer by dotproto

About

License:Apache License 2.0


Languages

Language:JavaScript 70.6%Language:HTML 29.4%