Skip to content

pdehaan/blurts-missing-logos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blurts-missing-logos

Checks for missing breach logos on the Firefox Monitor website.

Usage

The module isn't published to npm, but you can use it directly from GitHub using npx:

npx pdehaan/blurts-missing-logos

If no missing breach logos are found, an empty array is returned. If missing breach logos are found, an array of objects (with logo, details, and status properties) are returned:

[
  {
    "logo": "https://monitor.firefox.com/img/logos/AnimePlanet.png",
    "details": "https://monitor.firefox.com/breach-details/AnimePlanet",
    "status": 404
  }
]

By default, the development server, https://fx-breach-alerts.herokuapp.com, is checked (in case breach logos have already been added but not yet deployed to production):

If you want to check against a different environment, you can pass a SERVER environment variable to the script. Or if you want to check production, you can simply pass the -p flag. If you want to check the production site, but using the CDN served images, you can pass the -c flag.

The following two commands are the same:

  1. SERVER=https://monitor.firefox.com npx pdehaan/blurts-missing-logos
  2. npx pdehaan/blurts-missing-logos -p

LICENSE

Mozilla Public License, version 2.0

About

Scan for missing breach logos

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published