Skip to content

Instantly share code, notes, and snippets.

View miku-orb's full-sized avatar

Michał miku-orb

  • Europe 🇪🇺
  • 05:54 (UTC +01:00)
View GitHub Profile
@caviv
caviv / firefoxfix.go
Created March 7, 2020 14:25
Add permissions to Firefox so domains will be able to send notifications in http and no need for https (work around)
package main
// This short script in go (golang) adds websites to the permissions.sqlite file
// of Firefox in order to allow domains with http to send notifications
// it is a work-around on installing SSL/TLS inside intranet inside the organizations
// (C) Cnaan Aviv https://www.cnaanaviv.com
import (
"fmt"
_ "receiver/firefoxfix/homedir"