URL Blocker
Blocks selected applications from opening web URLs via ShellExecute. Useful for suppressing post-update pages, promo links, and similar browser popups
Author: CrazyTim71
What it does
This mod prevents selected applications from opening web links in your default browser. It is mainly intended for cases where programs open unnecessary pages such as post-update "thank you" screens, release notes, promotional pages, or similar unwanted redirects.
The mod works by intercepting ShellExecuteW and ShellExecuteA calls and ignoring calls that try to open URLs (starting with http). Regular file paths are left alone, so opening local files will continue to work as usual.
Configuration
This mod doesn't automatically target any processes. Add the programs for which you want to block URL calls under:
Details -> Advanced -> Custom process inclusion list
Only the processes in that list will have URL calls blocked.
No guarantee that it will work on all programs!
Notes and limitations
- The mod only blocks URL launches that go through
ShellExecuteW or ShellExecuteA.
- Programs that use another API or an embedded browser may still be able to open web pages.
- The mod is not intended for system-wide URL filtering.
Credits
Inspired by the F1 Blocker mod from d0gkiller87.
Bug Report / Feature Request
Open an issue / discussion on https://github.com/ramensoftware/windhawk-mods and tag @CrazyTim71