/send_to_ntfy_extension

Browser extenstion to send urls or text to ntfy

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

send_to_ntfy_extension

gitmotion additions

Added Enable Prefill with Url and Enable Dark Mode Options / Checkboxes: https://github.com/TheDuffman85/send_to_ntfy_extension/pull/2/files

  • for more customizability and quality of life improvements
  • refactored code so it's more extensible and reusable
Feature / Update Description
Enable Prefill with URL Option - Checkbox allowing users to enable/disable adding the page URL to the message.
- Useful for sending notifications without the URL. (Saves to storage)
Prefill Functionality - Unchecking/checking the checkbox and saving the config updates the message in real-time.
- Removes or appends the page URL to the message beginning.
- Prevents duplicate removals/additions if the message is edited before saving config.
Enable Dark Mode - Checkbox allowing users to enable/disable dark mode for the extension's UI. (Saves to storage)
Refactored popup.js - Hoisted functions and global variables for execution before declaration.
- Enables asynchronous functionality by retrieving data from storage once.
- Previously called chrome.storage.sync.get() three times, now called once onload and stores values in global variables.
Modularized Functions - Improved extensibility by modularizing functions.
- Allows independent function calls (e.g., getConfigs, saveConfig, updateUI, showStatus, showWarning, etc.) from anywhere.
- Facilitates future refactoring into separate files.
Retained Functionality - All previous functionalities are maintained and tested.

Screenshot Demo

Description

Simple browser extenstion to send urls or text to ntfy

Features

  • Send the current url or text to preconfigured topics
  • Optional authentication via token
  • Change ntfy server
  • Supports Manifest V3

Browser Stores

Firefox

Chrome

Edge

Screenshot

grafik