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 .js file 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

KeyEffect
@nameDisplay name in the manager
@descriptionShort description in the manager
@matchPages the script may run on
@includeAdditional page patterns
@excludePages the script must not run on
@run-atSupported 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.