Skip to content

Peacekeeper prevents you from operating the admin panel of the wrong environment.

Notifications You must be signed in to change notification settings

KazuyaUchida/peacekeeper

 
 

Repository files navigation

Peacekeeper

  • Peacekeeper will notify you for each website you specify.

Install

Screenshot

Before

  • Which one is LOCALHOST? You will have an accident someday.

After

  • It's sooooo peaceful.

Configs

url (required)

  • Specify target URL with regular expression
"url": "https://.*stage-admin.+"

alert

  • Run JavaScript alert("blah blah blah")
"alert": "blah blah blah",
  • Disable alert
"alert": false,

favicon

  • Change the favicon
"favicon": {
  "href": "URL or Data URI",
  "rel": "shortcut icon",
  "type": "image/x-icon"
},
  • Disable to change the favicon
"favicon": false,

style

  • Change style backgroundColor
"style": {
  "backgroundColor": "yellow"
},
  • Disable to change style
"style": false,

toast

"toast": {
  "icon": "error",
  "position": "center",
  "showConfirmButton": false,
  "timer": 1000,
  "title": "Hey, Watch out! It's PRODUCTION!!!"
},
  • Disable to show popup box
"toast": false,

About

Peacekeeper prevents you from operating the admin panel of the wrong environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.3%
  • HTML 17.2%
  • CSS 1.5%