Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

firefox-modheader

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firefox-modheader - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

0

index.js

@@ -0,0 +0,0 @@ /**

2

package.json
{
"name": "firefox-modheader",
"version": "1.0.10",
"version": "1.0.11",
"description": "Packaged ModHeader extension for Firefox WebDriver.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -7,3 +7,3 @@ # ModHeader for Firefox Selenium (WebDriver)

```
```bash
npm install firefox-modheader

@@ -14,3 +14,3 @@ ```

```
```javascript
const { getExtension, getAddHeaderUrl } = require('firefox-modheader');

@@ -40,2 +40,10 @@

### Get extension file:
Get the extension file:
```javascript
function getExtension() {}
```
### Add request header:

@@ -51,6 +59,6 @@

```javascript
function getAddHeaderUrl(name, value) {}
function getAddHeadersUrl({ name: value }) {}
```
getAddHeaderUrl(name, value)
getAddHeadersUrl({ name: value })
```

@@ -67,5 +75,5 @@ Construct the URL above using `getAddHeaderUrl('Test', '1')` or `getAddHeadersUrl({ Test: '1' })`

```javascript
function getClearHeadersUrl() {}
```
getClearHeadersUrl()
```

@@ -84,4 +92,7 @@ ### Load custom profile:

Node API equivalent:
```javascript
function getLoadProfileUrl(exported_profile) {}
```
getLoadProfileUrl(exported_profile)
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc