The script below works on a normal webpage, but how I can make it work on local .htm files too? (When opened in the Chrome browser)
// ==UserSc
First, on Chrome's extensions setting page (chrome://extensions/), make sure Tampermonkey has access to file URLs:
Second, format the @include (or @match) with the correct number of slashes. It should almost always start with file:///. For example:
@include
@match
file:///
// @include file:///C:/Users/*.htm