Questions tagged [violentmonkey]

Use with [userscripts] for questions regarding the open source user script manager violentmonkey.

Violentmonkey is the open source user script manager for managing user scripts. Compared to greasemonkey or tampermonkey, this is the only popular user script manager that is open source.

5 questions
1
vote
0 answers

Using Javascript's native module system in userscripts (Violentmonkey in particular)

I've recently taken the step to refactor all the ever-growing JS code of one of my projects into module logic for better organization. Although working fine so far, one of the caveats I ran into is that several of my scripts are integrated into an…
0
votes
1 answer

Violentmonkey How to compress string

I am relatively new to Javascript and am currently making a Violentmonkey script. In my script I have a relatively big string that I want to compress but I don't know how I would do that since most methods I found only where using external libraries…
0
votes
0 answers

How to avoid Firefox `CSP` with violentmonkey script while staying compatible with Tampermonkey

Expecting: conditionally add // ==UserScript== comments or other ways to use this script injected into conetnt only if firefox and Why? Firefox has CSP issues while using Violentmonkey and the script i'm using. What works: //@inject-into content…
Advoot
  • 731
  • 6
  • 5
0
votes
0 answers

Why does this violentmonkey script not update the DOM?

I would like to be able to easily see GitHub PRs that I reviewed and that are still open. The GitHub browser interface doesn't make this easy, but the data are readily available as a query. I thought it would be easy to add a button. The function…
Reece
  • 7,616
  • 4
  • 30
  • 46
-1
votes
0 answers

Script to add a box with a clickable link

Can someone tell how to make a Violentmonkey/Greasemonkey compatible script, that adds a box to a webpage, that has a text and a clickable link inside? Example case to work with: How to make a box to the upperleft corner of Stackoverflow, that has…