项目作者: Reeywhaar

项目描述 :
Browser WebExtension to bypass cors restrictions on certain domains.
高级语言: JavaScript
项目地址: git://github.com/Reeywhaar/corser.git
创建时间: 2017-07-31T14:26:03Z
项目社区:https://github.com/Reeywhaar/corser

开源协议:BSD 3-Clause "New" or "Revised" License

下载


logo

Corser

Corser WebExtension make it possible to:

  • allows cross-domain request with sites which deny CORS in their headers
  • allows embedding iframe of domain which restricts it by x-frame-options header

Usage of this extension is intended for people who understand what they want to achieve. Otherwise it may compromise your security.

Install from addons.mozilla.org

Usage

Imagine we want to allow of embedding some iframe page of domain which denies embedding it pages.
Then after installing in options page we must paste the following sample config

  1. *://our-web-page-where-we-want-iframe-to-show.com/*
  2. -
  3. *://domain-which-restricts-iframe-usage.com/*

- is a separator between origin urls and match urls

Each URL must conform to Match Pattern

If you want another rule just separate it by double newline.

Developing

In order to use you must have web-ext binary installed and be familiar with it. All task are described in makefile

Changelog

0.0.15

  • fix port escaping in rules. Now “domain:4949” should match

0.0.14…

there were dragons…