Skip to main content
Filter by
Sorted by
Tagged with
-8 votes
2 answers
105 views

I'm using Perplexity web UI (https://www.perplexity.ai/) with the GitHub Connector to automate code edits and commits. Every time I ask Perplexity to create/update files or make changes, an "...
Andrei Pozolotin's user avatar
0 votes
2 answers
183 views

I am working on a user script (I'm using Tampermoney as my user script manager) to append a dynamic Rotten Tomatoes link to a Jellyfin movies/series page. It works when I manually reload on the title'...
Sam Saint-Pettersen's user avatar
2 votes
2 answers
202 views

It took a lot of trial and error to figure out how to do this so I figured I would post my own answer. That said, I'd prefer a vanilla JS userscript. I've only figured out how to get this working with ...
Daniel Kaplan's user avatar
2 votes
1 answer
195 views

In modern user script managers, APIs available to access storage private to the user script, like GM.getValue and GM.setValue, are asynchronous. Since they are asynchronous, scripts using them are ...
dumbass's user avatar
  • 27.2k
1 vote
1 answer
90 views

I'm trying to implement a simple Tampermonkey userscript in my Firefox browser that searches a current window (containing lines of debug logs) for a URL, then opens this URL using window.open(url, '...
JJ Adams's user avatar
  • 531
0 votes
0 answers
89 views

screen recording https://www.reddit.com/r/nextfuckinglevel/top/?t=month // ==UserScript== // @name         REDDIT: gallery view // @match        https://www.reddit.com/* // @require      https://raw....
Lori Yagami's user avatar
0 votes
0 answers
55 views

I’m using Tampermonkey on Chrome to hide itch.io games with average rating ≤ 3.0 or containing certain tags. Until recently I scraped data-ratings_avg and .game_tags a from each .game_cell. After a ...
ANSKS's user avatar
  • 1
0 votes
2 answers
146 views

Imagine a website that has infinite scrolling, where a link saying download, appears underneath every post. I would like to change from a word to something else of anything else. (In my case a 24x24 ...
desbest's user avatar
  • 4,958
2 votes
2 answers
100 views

On a page with multiple videos the currently active / most recently focused video reacts to standard keyboard actions like Space to play/pause the video or F to toggle full screen mode. This is ...
Three Year Old's user avatar
0 votes
0 answers
73 views

I am developing a UserScript for Gmail to copy comprehensive email details, including the full header information (Sender, All Recipients, Date, Message-ID, 'mailed-by', 'signed-by', etc.). The header ...
Marco Fanelli's user avatar
0 votes
1 answer
120 views

I am able to demonstrate my issue using the below simple example. I basically need to use the addUserScript to load different scripts based upon which website the web view has navigated to. This works ...
sudoExclamationExclamation's user avatar
0 votes
0 answers
31 views

Does anyone know a way to make a script registered with chrome.userScript execute immediately without having to refresh the page? In manifest v3 the accepted way to execute user script is through the ...
Manassés Lima's user avatar
0 votes
1 answer
233 views

I have a userscript for https://docs.google.com/forms. I'm trying to auto open the "Share" modal window and re assign all Editors to Responders. To open the share modal this works: function ...
Yeti's user avatar
  • 5,596
0 votes
1 answer
74 views

I'm making a userscript for easy pasting of canned messages that we use on Arqade. However, every time I try to use it, I get the error: No textarea found inside the target comment form. What am I ...
Otakuwu's user avatar
  • 228
0 votes
0 answers
40 views

Background Navigation keys (arrow, page-up/down) can be used to move element viewport, and user need to click the scrollable element to "focus" it. However, the focus for this specific ...
user2771324's user avatar
1 vote
1 answer
105 views

So, I'm creating a Wikipedia user script, and for it, I need to get the current namespace and get a true or false value. I tried using wgCanonicalNamespace , but this did not work. Here is another ...
Twineee The Dark Wizard's user avatar
0 votes
0 answers
98 views

I am trying to delete some scripts on page load via the use of TamperMonkey. I am using MutationObserver to figure out when a script event loads and if so delete it and place my script on it. // ==...
ng.newbie's user avatar
  • 3,332
1 vote
0 answers
110 views

I'm developing a Tampermonkey userscript to capture audio from a webpage using the MediaRecorder API. The script successfully records audio and creates a Blob with the MIME type audio/webm;codecs=opus....
Ex-Opera's user avatar
0 votes
0 answers
128 views

Similar to this question. The following userscript intercepts fetch and XMLHttpRequest requests and log their url's to the console. But, why it doesn't intercept all requests? for example it doesn't ...
user2495207's user avatar
1 vote
1 answer
68 views

I tend to use Chrome and MediaWiki's WikiEditor to add internal links, but it requires clicking on the respective button. Is there a way to either insert the characters with a shortcut or activate ...
greektranslator's user avatar
0 votes
1 answer
98 views

I had a friend set up an MQTT to trigger by Gmail emails with certain words, which I want to use to set a script (via userscript in Chrome) in motion with that trigger from the MQTT. He set up the ...
Michael Rez's user avatar
-1 votes
1 answer
49 views

I am trying to reformat a webpage so that certain cells (td) are highlighted based on their values. I have several labels I'm looking for, and wanted to try to do this in a loop. The "label"...
Jeff's user avatar
  • 123
2 votes
1 answer
327 views

The default seek backward/forward interval of the ARD Mediathek media player using the arrow keys ← and → (or alternatively J and L) is very large depending on the video length (e. g. for a video ...
Three Year Old's user avatar
1 vote
0 answers
92 views

I'm trying to create a script which will allow the exclusion of certain results on the "not indexed" page of Google Search Console, to alleviate reviewing things repeatedly. Violentmonkey ...
macheteYeti's user avatar
1 vote
1 answer
344 views

I have a userscript that includes a GM_registerMenuCommand('Render LaTeX', () => { (and so forth) that makes part of the userscript only run when manually triggered by selecting the ViolentMonkey ...
Logan J. Fisher's user avatar
0 votes
1 answer
59 views

The idea of this userscript is that when browsing search results, you can hold different combinations of three keys to indicate whether that tag will be added to your search query with an AND, NOT or ...
KitchenConsort's user avatar
0 votes
1 answer
52 views

I am trying to extract some text from a webpage. I've tried something like: var headings = document.evaluate("//div[contains(., 'Location')]", document, null, XPathResult.ANY_TYPE, null ); ...
Jeff's user avatar
  • 123
1 vote
1 answer
416 views

I wrote the following script to download as PDF a Google Docs file; when I click Alt + P nothing happens. I'm using Google Chrome. // ==UserScript== // @name Google Docs PDF Download Shortcut /...
Federica Guidotti's user avatar
1 vote
1 answer
73 views

What I want is when I visit a specific website that all urls on the PAGE that match (example.com/view=list or example.com/view=card or example.com/view=posts etc..) are changed to: example.com/view=(...
p1r4t3rs's user avatar
2 votes
1 answer
1k views

Objective I am trying to hide an element using Temper Monkey user script The testing webpage is https://www.dmla5.com/play/8733-1-5.html. After clicking the pink button, a video will be loaded. My ...
Electron X's user avatar
1 vote
2 answers
158 views

I currently have this code. This opens the YT search in a new tab when you click the middle-mouse button: (function() { 'use strict'; var searchIcon = document.getElementById("search-...
Julius Esen's user avatar
1 vote
1 answer
822 views

I tried to run this javascript code on a Tampermonkey userscript on many webpages but they all gave the same problem: (I modified some details) var data="744483"; var url="https://...
Ryan Newman's user avatar
0 votes
0 answers
696 views

Is there any way to inject JS in websites on Samsung internet browser anymore? They patched bookmarklets a year ago as a "vulnerability" (So now you can't run javascript: bookmarks) ...
fres's user avatar
  • 13
1 vote
1 answer
1k views

I am trying to make a userscript that will open the invoices from Amazon in new tabs, so that I can try to categorize my spending better. It's a PITA. Here's the link: https://www.amazon.com/cpe/...
Jeff's user avatar
  • 123
1 vote
1 answer
87 views

I have a UserScript like the below: document.querySelector('[title="Select: This option"]').checked = true document.querySelector('[title="Click to continue"]').click() After the '...
f f's user avatar
  • 13
0 votes
1 answer
352 views

// ==UserScript== ... // @match */* // @require https://cdn.tailwindcss.com // @run-at document-end // @grant none // ==/UserScript== (function() { 'use strict'; ...
zalupa_konya's user avatar
0 votes
1 answer
236 views

This is my userscript to change the color of visited links. It is assumed to be able to work with any website. // ==UserScript== // @name Change the color of visited links // @description - // @...
user avatar
1 vote
1 answer
170 views

See below From a Greasemonkey/Tampermonkey script I want to refer/include always the newest jquery library. Therefore I coded until now: // @require http://code.jquery.com/jquery-latest.js ...
thoste's user avatar
  • 21
0 votes
1 answer
341 views

I am building a Tampermonkey user script. My actual script is a lot more complex but I am able to reproduce with the following example. My script needs to work on Hacker News website. For example on ...
sudoExclamationExclamation's user avatar
1 vote
0 answers
161 views

I want to run a tampermonkey script on a non existing page in firefox ("Page not found" - default page). The typical method I use to inject a payload like this does not work: window....
HeartOfGermany's user avatar
0 votes
1 answer
64 views

I am doing a Javascript userscript that can click on 'Voir plus' automatically on this webpage. To select the button element 'Voir plus' I am using the great waitForElem function. This work great &...
Chris's user avatar
  • 1
2 votes
1 answer
118 views

I am trying to add a $ sign to multiple currency values on a webpage that does not contain currency symbols. For example, I would like 25.00 to be formatted as $25.00. Another example is that I would ...
Michael Gunter's user avatar
1 vote
1 answer
85 views

New greasemonkey user, I have put together this code to check a box name isRegex... but the check box code is skipped console.log("Monkey script"); var chkBox,regBox; var sQuery = "//...
emag_mI's user avatar
  • 15
0 votes
1 answer
54 views

One of the site i am using recently implanted suggestion search so currency showing so many unrelated trash. ​Trying to hide all div that not contain part of url. sample url pattern https://urll.com/...
user avatar
0 votes
1 answer
119 views

I'm writing a tampermonkey script to add speed buttons next to Facebook videos. The script get all the video elements in the page, get their position, and bases on that position to place the button ...
Randy VU's user avatar
  • 109
1 vote
0 answers
452 views

// ==UserScript== // @name test // @namespace http://tampermonkey.net/ // @version v1 // @description test // @author test // @match *://*/* // @icon https://www....
a a's user avatar
  • 11
0 votes
0 answers
49 views

I'm writing a script to be triggered every time the page loads more content, or as I understand, child nodes are added to the html of the page. I used to mutation observer to observe the div named ...
Randy VU's user avatar
  • 109
-1 votes
2 answers
92 views

The target webpage sometimes contains a single embedded iframe video. I wish to open those specific videos in the current tab. <iframe allowfullscreen="true" webkitallowfullscreen="...
user avatar
2 votes
1 answer
183 views

How can I use previously cached selectors with certain aspects of querySelector() ? For example, I have this HTML / JavaScript: let L1, L2, L3; L1 = document.querySelector('#L1'); L2 = L1....
cssyphus's user avatar
  • 40.4k
1 vote
1 answer
1k views

// ==UserScript== // @name Name // @description Description // @author You // @version 0.1 // @match https://mysite* // @resource customCSS https://cdnjs.cloudflare.com/...
Khrys's user avatar
  • 2,774

1
2 3 4 5
27