Giter Site home page Giter Site logo

daylenjeez / chrome-samesite-cookie Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 1.0 159 KB

支持跨站cookie共享的chrome插件,支持chrome>94版本;chrome-extension:Allow your cookies without samesite

HTML 11.72% CSS 17.23% JavaScript 8.44% TypeScript 62.61%
94 chrome cookie cookies crossdomain chrome94 samesite samesite-cookies cross-site chrome-extension

chrome-samesite-cookie's Introduction

English | 简体中文

icon

Chrome跨站共享Cookie

🌟无需多余配置,一键开关即可支持 chrome 跨站携带 cookie

功能

  • 🎨支持顶级导航之间的跨域cookie共享;
  • 🚗支持iframe内嵌与父级之间的跨域cookie共享;
  • 💻支持只允许开发环境cookie共享;

安装

  1. 下载仓库中的 cookie-extension.zip 压缩包 点击下载
  2. 打开Chrome浏览器,并进入扩展程序目录;
  3. 打开扩展程序页面 右上角的开发者模式;
  4. cookie-extension.zip拖进扩展程序页面(直接拖文件夹也可以),既安装成功;
  5. 在浏览器 url 输入框的右上角扩展程序点开,点击固定按钮常驻在前台;

使用

  • 总开关(Enable)
    • 默认为关闭状态(🍪 为灰色);
    • 通过切换 Enable开关来切换插件总开关;
  • 开发者模式(Dev Mode)
    • 默认开启(建议在localhost的场景下使用,同时避免 CSRF 攻击);
    • 开启:则只在localhost下允许跨站cookie携带,关闭:允许所有网站使用cookie携带;

工作流

design

chrome-samesite-cookie's People

Contributors

daylenjeez avatar

Stargazers

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

Watchers

 avatar

Forkers

harley-jing

chrome-samesite-cookie's Issues

困惑的一个问题

想请教一下,跨域携带cookie假设前端加了 withCredentials: true,然后后端也允许跨域了,还有必要用这个插件吗?

因为之前就遇到一个跨域,然后自己现在的谷歌浏览器还是80版本的。我记得我之前也改过这个samesite属性。
但是我的edge浏览器是最新的,好像项目也不存在跨域的问题。但是有时候和后端联调还是会出现莫名其妙的跨域。实在是搞不懂。

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.