Code Monkey home page Code Monkey logo

cookie-editor's Introduction

grunt ESLint

Cookie-Editor

Cookie-Editor is a browser extension/add-on that lets you efficiently create, edit and delete cookies for the current tab. Perfect for developing, quickly testing or even manually managing your cookies for your privacy.

Description

Cookie-Editor is designed to have a simple to use interface that let you do most standard cookie operations quickly. It is ideal for developing and testing web pages.

You can easily create, edit and delete a cookie for the current page that you are visiting. There is also a handy button to mass delete all the cookies for the current page.

Cookie-Editor is available for Google Chrome, Firefox, Safari, Edge and Opera. It should be possible to install it on any webkit browser, but keep in mind that only the previous four browsers are officially supported.

Cookie-Editor is available on Firefox for Android and Safari for iOS, with an interface optimised for touchscreens.

Installation

Install on Google Chrome

Find this extension on the Chrome Web Store.
Chrome Web Store

Install on Firefox

Find this extension on the Firefox Add-ons site.
Firefox Add-ons

Install on Safari

Cookie-Editor is available for both Mac and iOS. It has been tested on Mac, iPhone and iPad.
Find this extension on the App Store.
Apple App Store

Install on Microsoft Edge

Find this extension on the Microsoft Store.

Install on Opera

Find this extension on the Opera Extensions site.
Opera add-ons

Feature Suggestions or Bug Reports

To submit a feature suggestion or file a bug report, please create a new issue here.

How to build

  1. Run npm install to make sure you have all the required packages installed.
  2. Run the command grunt
  3. All the files are in the dist directory created

Note for Safari

Safari needs to be built in Xcode. I have only tested building Cookie-Editor on Xcode 15.

Disclaimer

This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.

cookie-editor's People

Contributors

arora-sir avatar christophe-ph avatar dependabot[bot] avatar felixmaker avatar markkhromov avatar moustachauve avatar njzydark avatar tienanhemho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cookie-editor's Issues

Change the rendering technic of the interface

Currently, when a cookie change value or a new cookie is added, the entire interface is redrawn which reset it to its default value. This works well for making sure the interface is always up to date and that there is never a moment where it is out of sync, but it removes the user interaction that was done prior to it.

Certain sites, like the bbc.com, have a cookie that is updated every seconds which prevent the editor from being used.

The interface should only be doing partial updates and updating the affected values only.

h2. When a new cookie is created:

  • Insert it at the bottom if the interface is open in the list
  • Make a subtle animation to show that it is new

h2. When a cookie is modified

  • If the cookie is expended and the user is modifying a field for it, don't do anything until the user minimize it
  • Otherwise modify the value
  • Show a subtle animation (like a flash) to show that the value was updated.

Unknow error

Hello, when I try to import a cookie into Netflix, it automatically says "Unkown Error". I've tried with all browsers and still does it. Please fix this

Cookie format not mentioned

Hello,
Can we have a sample format for cookie imports? Sometimes non-technical users might find it confusing when a cookie has the wrong format and still gets imported.

View cookies from incognito tabs

Is it possible to save cookies from incognito tabs?

The extensions strip button shows me the mainland cookies, and the devtools tab shows me an empty collection.

Cookie Question

Hi Christophe,

I'm trying to figure out how to solve an issue.

If I have a browser with multiple Tabs, and the tabs are running different URLs/pages but the urls have the same domain "www.foo.com".

Is it possible to create the logic to copy the "cookie" from TAB1/URL1 to TAB2? Basically I'm testing running a number of different urls across the tabs, and I''m trying to figure out how to have an extension/logic that I can use/select that will take the cookie from TAB1 and apply it to the other TABs when I manually invoke the underlying logic in the extension.

I've scanned some of the logic of the cookie-editor extension and wondered if this logic could be developed via the app?

thoughts/comments?

thanks

-bruce

Are the cookies extracted from each program in Chrome and Firefox compatible with each other?

HI! The program is really convenient to use and thank you for your hard work.
As I used it, I discovered that the format of the cookies extracted from the extensions of the two browsers are different.
Wouldn't this be a problem when crossing over to each other?
At first glance, Those are something looks quite different.
I think the Firefox format with the 'name' at the top was more comfortable to look at.

Is this just extracting cookie values that are the same as each other, with different Sequence?
But what I found was that when I imported a specific cookie value extracted from Chrome into Firefox as it was,

Chrome : "expirationDate": 1618609921.66361,
Firefox : "expirationDate": 1618609921,

Chrome : "sameSite": null,
Firefox : "sameSite": "no_restriction",

Chrome : None (There were no "firstPartyDomain' value)
Firefox : "firstPartyDomain": "",

There have been these changes.
Why do these differences arise and are integrity guaranteed, okay to across??
This change was not found when moving cookies from the same browser extension.

Permission denied to set cookie

Hey.

The subject message pops up when I insert cookies. Must be bug as well, for I do not see any permissions on the addon at all.

Regards.
image

Cookie Import not working

I paste the cookies and click on import but nothing happens.

When I paste wrong json it prompts unable to parse json.

but when I paste correct json nothing happens

Import not working in Chrome80.0.3987.100

Created cookies can be seen in 'Application-Storage-Cookies', but will be deleted after refreshing because the following request doesn't contain the cookies just set so the response will set-cookie.

Firefox import issue

i use firefox browser 83.0 (64-bit) with cookie editor 1.9.0 , in table "paste your json here" enter(newline) not detect and then i cant import my cookies because the cookie editor not detect json format.

import cookie is failed with “underscore”

cookieSet

image
Hi, I have problem when i import cookie.

my cookie:

[{
        "domain": "iad.test.jj.cn",
        "hostOnly": true,
        "httpOnly": false,
        "name": "User_Id",
        "path": "/",
        "sameSite": null,
        "secure": false,
        "session": true,
        "storeId": null,
        "value": "793112722"
}]

if the cookie's name have "_" underscore, it will remind me "failed to parse or set cookie named …… "

mysterious 'fakedomain.com' session cookie repeatedly set, apparently by cookie-editor

I've been troubleshooting an unknown session cookie from 'fakedomain.com'... After spending the past hour on this, I determined this cookie is somehow associated with cookie-editor. It automatically gets created when I open Chrome (my start page is set to the 'New Tab' page). If I delete the cookie, it will always be created again, although not necessarily immediately. If I disable cookie-editor, it will never be created. Here are the details:

I'm guessing this some sort of development aid that should have been removed...? I'm running v1.9.0 with Google Chrome v84.

Name
testSameSite
Content
someValue
Domain
fakedomain.com
Path
/
Send for
Same-site connections only
Accessible to script
Yes
Created
Sunday, August 9, 2020 at 10:28:25 PM
Expires
When the browsing session ends

Doesn't work with Appmagic.rocks

As is said in the Title, the extension seems to work for every other website, but I had no luck with this single website: Appmagic.rocks. Will really appreciate it if you can help fix this, if possible. Thanks for your hard work!

How do I use cookie editor for Edge?

Every time I open Cookie editor, it opens up Edge to Bing, but there is no option to edit it so I'm wondering where I can edit it. cookie editor works very well on Chrome and Firefox but I dont see the option for Edge. Please help. Thank you

Text foreground color in Firefox is honored, but background is not

This is Firefox 73.0 and Cookie Editor 1.9.0.

Problem:

For text in the Cookie Editor popup (when you click the extension button), the color is taken from the foreground color in Firefox's settings. However, the background appears to be unconditionally white. This caused a rather obvious issue when I had Firefox's text set to white on dark.

Steps to reproduce:

  1. In Firefox's preferences, under "Language and Appearance", click "Colors"
  2. Make the foreground text an obviously non-dark color (red is good)
  3. Make the background black
  4. Click on the Cookie Editor tool button

Note that all the text is red (or whatever color was selected), but the background is not dark.

Ok

[spam]

Display problem when opened from "Overflow Menu"

Simple but effective extension to manage cookies in Firefox.

However I noticed a bug when the extension comes into the "overflow menu", the boxes overflow over the margins and not all the buttons are visibile. This should depend on some fixed width style.

Browser: Firefox 61.0.2

Overlow

Exporting google cookies

Hello Mate,

Was hoping to get some help on importing cookies for Firefox or Chrome. On both browsers, I've created new profiles and import the JSON cookies. I will occasionally get the permission denied error which, from reading your responses to other users, is because you can only import that cookie of the active website you're on. But, I am unable to import cookies for all google websites. I visit google.com and import by google cookies, but cannot access gmail still. Here's the steps to recreate the issue:

  1. Create new profile in Chrome
  2. Install extension from webstore
  3. Go to google.com
  4. Delete all cookies
  5. Copy and paste JSON cookie into extension
  6. Hit refresh and google.com shows account sign in upper right hand corner (changes to your icon with your name)
  7. Click gmail in upper right corner and then you're prompted to sign in

Expected Behavior;
When clicking gmail, the user should be logged in and taken to their inbox.

What am I doing wrong?

Thanks for the help and appreciate the hard work.

Cheers, Olly

Icons lacks tooltips and/or text.

It would be nice to have tooltips of some sort to know what each button does and dont have to guess if i click this trash can icon then all the cookies will be deleted or just one. Maybe even text next to the icon on that bottom bar since there is so much unused space.

Import cookie for another website?

Hi,

I've been trying to import cookies, but this tool seems to be "tab-based".
I'm wondering, is it possible to inject cookies for another website, one that isn't opened currently?

Thanks.

(optional?) netscape format export

With a (legacy) Netscape cookie format for the export , it will be compatible with most other cookie export utils and directly usefull for import in programs like WGet , WebGrabPlus etc. Please!!

Extension does not find cookies when "Site access" is set to "On click"

I have just installed Cookie Editor from:
https://chrome.google.com/webstore/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm?hl=en

In any page, no matter which one, I get the message:
This page does not have any cookies
Which is false, as I can see them through the WDTools

If I try to add a cookie, I get a black bubble saying:
No host permissions for cookies at url: "https://www.google.com/search?.....".

Permissions-wide I have nothing special in my Windows computer, I am running an administrator.

Cookie protector

I would love a feature you could call "Cookie protector"...
This way I could:

  1. protect a couple of cookies I need ("protected cookie")

  2. erase all other cookies and still keep my "protected cookies"

That would be a really useful feature... because what the point of otherwise having to go through hundreds or even thousands of cookies?

Thank you for considering this feature for the "Moustachauve/cookie-editor"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.