-
Notifications
You must be signed in to change notification settings - Fork 21
FAQ
Since extensions of Opera do not have the permission to read or write in local drives, all the scripts are stored in the extension storage. Scripts can be exported to a zip file since version 1.2.
Violentmonkey does nothing with the local UserJS. They can work just as before. But make sure they are not both in UserJS folders and Violentmonkey, because that will make the script running twice.
No. Even if they are installed, they make no difference. Violentmonkey will build a separated environment for each script, as a result, variables from different scripts will not be fetched by each other. All you need to do is to make sure the required scripts are required with @require
rules in meta data. Violentmonkey will do the left.
Opera deal with UserJS files differently according to the file name. JS files ending with .user.js
will be executed after the page is loaded, while those ending with .js
will be executed as soon as the page starts to be loaded. However, Violentmonkey regards all scripts as .user.js
files. So if a .js
script is installed into Violentmonkey, it will be executed after the DOM of the page is loaded (DOMContentLoaded) and fail. There are several solutions (The first is the most recommended):
- Remove them from Violentmonkey, save to files named blablabla.js in UserJS folder.
- Install to Violentmonkey, set
@run-at
todocument-start
.