Skip to content
This repository has been archived by the owner on Apr 13, 2020. It is now read-only.

AndrewBastin/postwoman-firefox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE : The code required for this extension to work is removed from Postwoman v1.9.5 and up

Postwoman Extension for Firefox

Get the add-on

Haven't tried Postwoman yet ? Try it at https://postwoman.io/


This extension currently provides the following features to Postwoman.
  • Overrides CORS restrictions for cross-origin requests.

Building & Experimentation

  • Clone the repo
  • Run npm install
  • Run npm run build to generate the dist folder
  • Navigate to about:debugging in Firefox; Select This Firefox in the sidebar
  • Click on Load Temporary Add-on... and select the manifest.json in the generated dist folder
  • Open https://postwoman.io on Firefox and run queries. It will pass without CORS issues.

NOTE: If you are running Postwoman on a domain which is not https://postwoman.io or https://postwoman.netlify.com/ (for example when running Postwoman on localhost), this extension won't work as a security measure. To make it work, add your domain to manifest.json's matches array within the content_scripts array like so:

 "content_scripts": [
    {
      "matches": [
        "https://mydomainhere.com",
        
        "https://postwoman.io/",
        "https://postwoman.io/*",
        "https://postwoman.netlify.com/*",
        "https://postwoman.netlify.com/"
      ],
      "js": [ "index.js" ]
    }
  ],


Postwoman is built with help of an amazing group of people.
Contribute to Postwoman: https://github.com/liyasthomas/postwoman

Sponsor Postwoman: OpenCollective



made with ❤️ by andrew bastin