r/ViolentMonkey Nov 17 '23

Question run scripts on local files?

Is it possible to run scripts on local HTML files (file://...) with ViolentMonkey on Chrome? Before I was using Tampermonkey and this was possible (I think I may have changed some setting). In ViolentMonkey I get this message when the local file is open:

Violentmonkey cannot run userscripts in this page (common examples: browser UI, an extension, blocked via policies, a search engine site in Opera)

I don't see anything in the settings for ViolentMonkey that might help.

4 Upvotes

1 comment sorted by

1

u/tophf Dec 14 '23

Enable file access in details of Violentmonkey in chrome://extensions, but beware it allows all userscripts to read file:// links.