Git Product home page Git Product logo

chrome-unxss's Introduction

UnXSS

Evade Chrome's cross-site scripting (XSS) protection by modifying or deleting websites' security headers on the fly.

For example:

  • If you want to load a website in an iframe, and that website uses X-Frame-Options: SAMEORIGIN, Chrome will refuse to show the website. Use the "Delete X-Frame-Options header" option to have Chrome ignore that restriction.
  • If you want to call a foreign AJAX endpoint from a website that has Content-Security-Policy: ... set to disallow wildcard script-src, use the "Delete Content-Security-Policy header" to allow running any script on that page.
  • If you want to call out to an API endpoint that doesn't specify itself as CORS-friendly, enable the "Add Access-Control-Allow-Origin: * header" and "Add Access-Control-Allow-Methods: * header" options.

Each restriction can be disabled or enabled individually; labeled checkboxes on the configuration page clearly indicate which restrictions are disabled.

The default is to leave all restrictions in place. When you want to allow one or more XSS vectors, click the dark "XSS " icon in the toolbar, and check/uncheck the checkboxes as desired. The restrictions / relaxations take effect immediately, but you will need to refresh any pages that were loaded before disabling the restrictions.

Installation

UnXSS can be found in the Chrome web store.

Notes

Chrome's developer tools' "Network" inspector shows the original, pre-interception, headers.

Development

Debugging the default_popup page, options.html:

chrome-extension://the_extensions_chrome_id/options.html

Or right-click on the icon in the toolbar and click "Inspect Popup".

Publishing

Chrome WebStore Dashboard

Icon. The icon should be 128x128 and have transparent 16px margins on each side. Screenshots. Can use up to five 1280x800 or 640x400 images. Tiles. One each of 440x280, 920x680, 1400x560 images.

License

Copyright ©2014 Christopher Brown. MIT Licensed.

chrome-unxss's People

Contributors

chbrown avatar

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.