Skip to content
This repository was archived by the owner on Jun 8, 2025. It is now read-only.

muthesius/ea-watchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

E/A Watchdog

A simple Cocoa-flavoured AppleScript implementation of a watchdog for resetting the browser to a single website when the screensaver stops.

To make this work with Firefox there are certain prerequisites:

  • Disable "warn on closing multiple tabs" (Settings)
  • Allow window.close(): Set property dom.allow_scripts_to_close_windows to true in about:config)
  • Install Greasemonkey script to block all "onbeforeunload" listeners websites might have in place: exitblock.user.js (via Block Exit Blockers User Script)

It is only this configuration which allows an outside script to close all browser windows without nagging.

If you are curious, the magic happens in AppDelegate.applescript.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published