Userscripts
The userscript manager runs ordinary JavaScript in pages you choose. It supports common metadata and lifecycle points. It is not the Tampermonkey extension API.
What a userscript is here
A userscript is a JavaScript file with a metadata block at the top. Solipsism reads that block, decides whether the current page matches, and injects the script at a supported lifecycle point.
The runtime can be disabled globally. Individual scripts can be enabled, disabled or removed.
Import
- From a local
.jsfile on the device. - From an HTTPS URL.
Prefer a source you can read. A URL import fetches whatever that server returns at that moment; it is not pinned to a hash.
Supported metadata
| Key | Effect |
|---|---|
@name | Display name in the manager |
@description | Short description in the manager |
@match | Pages the script may run on |
@include | Additional page patterns |
@exclude | Pages the script must not run on |
@run-at | Supported injection point |
Security
Scripts are executable code
A userscript can read and change the page it runs in. Install only scripts whose source you trust, and remove scripts you no longer use.
What is not supported
- Privileged Tampermonkey APIs are not emulated.
- Scripts that depend on extension storage, cross-origin requests or manager UI will not work as written.
- There is no silent fallback: an unsupported call fails rather than pretending to succeed.