Questions tagged [userscripts]

Userscripts are mainly javascript extensions for web browsers. Userscripts automate or customize actions, and they can change the layout or even "mash up" different websites.

Filter by
Sorted by
Tagged with
1 vote
1 answer
60 views

Firefox: how to copy URLs to clipboard with parenthesis as encoded characters, e.g. '(' as '%28' and ')' as '%29'?

I am using Firefox 119.0 (64-bit) on Fedora 38. I would like to be able to copy a links that contain parenthesis to clipboard from the address bar with them as encoded. For example, when copying the ...
zpangwin's user avatar
  • 173
3 votes
3 answers
792 views

How to prevent a website from hiding its scrollbar?

Some webpages, such as this FAQ or this blog post, do not display a vertical scrollbar even though the content overflows vertically. This makes it impossible to click-and-scroll, or to see how long ...
Walter's user avatar
  • 151
1 vote
1 answer
3k views

How to prevent a web browser from following redirects in a specific website?

I am trying to block myself from using Google Search Console by bringing myself back to Google Search, due to addictive behavior with Google Search Console*. The following JavaScript code works from ...
somo's user avatar
  • 25
1 vote
1 answer
308 views

AHK to reassign mouse indexes for RetroArch emulator

I have an arcade build with lightguns that uses RetroArch. It relies on mouse indexes which can be obtained with a controller remap utility tool. This produces the following information ...
drewjbx's user avatar
  • 65
2 votes
0 answers
168 views

How to programmatically change viewport dimensions (like DevTools can?)

When viewing a website in Devtools with the Responsive Viewport, you can customize the screen dimensions in pixels. Is this accomplished on the browser end according to CSS/JS rules? , or are the ...
ETL's user avatar
  • 371
0 votes
1 answer
495 views

A script for Violent Monkey to revert Reddit's UI?

I seem to ask these sorts of questions a lot, so, in short, Reddit recently got uglier for some reason like so many sites and services are doing these days and I'd like to change it back. Is there a ...
Demon's user avatar
  • 85
0 votes
1 answer
2k views

How to send an input (letter y) after the command requests me to

I am trying to do chkdsk C: /f /r /x After I do this command, It requests me to press y to accept checking my disk after restarting my pc. How can I automate this for my .bat file? I mean, after the ...
fatFeather's user avatar
0 votes
1 answer
184 views

How can I differ between different chrome profiles in my rules?

What could be the difference between multiple profiles on Google Chrome? I want to make specific rules for specific chrome profiles: What is the difference between different profiles on Google Chrome ...
fatFeather's user avatar
0 votes
0 answers
3k views

Script to check SMB status on multiple servers

I am looking to check the SMB version and status on a list of servers. it would be nice to be able to have a list of server, such as a CSV and run the SMBconnection command against each of the ...
Magic's user avatar
  • 1
1 vote
1 answer
828 views

A script for Violentmonkey to automatically add something to the end of all wikia URLs?

Recently Wikia/Fandom has released a new design for their site that looks absolutely dreadful and they're slowly forcing it as the default skin for all of their wikis. Users can still log in and ...
Demon's user avatar
  • 85
3 votes
0 answers
65 views

Set Windows Background Colours from a Webpage Script

The Display Screen Optimiser I have a web app which identifies the optimal background colours for reading speed. It can set this optimal colour as the background for our site but our users want to be ...
Steve's user avatar
  • 131
0 votes
1 answer
1k views

Why is a userscript active on a given url in some browser but not another?

I develop a userscript to be used by a few people in my company. I advised them to install Tampermonkey. Someone complains that the script is not working for her: indeed, she has Tampermonkey ...
infisxc's user avatar
  • 81
0 votes
1 answer
91 views

Firefox: block left and right keystrokes for a particular website

I use a Wacom tablet that has touch gestures enabled. For some reason, when using Firefox, left and right scrolling is interpreted as left and right arrow keypresses. This wreaks havoc with some ...
stib's user avatar
  • 4,309
0 votes
0 answers
241 views

How to save or get binary file array of an image on the page without redownloading it in Firefox 81?

I'm using Firefox 81 (and also 82 dev edition), and I'd like to be able to save the images on the page that has finished loading without sending another GET request. This is because: I don't want to ...
user1306322's user avatar
  • 4,766
3 votes
0 answers
523 views

user scripts like Greasemonkey are no longer editable in firefox 71 (they were working fine in the 6x version)

Just updated to Firefox 71 after not updating for more than an year. Now violentmonkey scripts can't be edited. Then also can't be switched on or off. They were working well in the 6x version of ...
music's user avatar
  • 242
0 votes
1 answer
214 views

Can plugins see your passwords if you don't save them to the browser?

I have a few plugins installed in google chrome, but I almost never save my passwords to google chrome. I almost always type them in every time. Can plugins only see your passwords if you type them in ...
frosty's user avatar
  • 109
5 votes
1 answer
5k views

Firefox native support for userscripts - without addons

I want to run some custom userscripts in Firefox but without add-ons like Greasemonkey. A long time ago it was possible to do so by putting scripts in a folder named userscripts\\ inside the Firefox ...
Azevedo's user avatar
  • 528
2 votes
1 answer
5k views

How do I circumvent the anti-afk built into Youtube's autoplay feature?

I want to be able to listen to ASMR videos while getting to sleep and have it still playing when I wake up, but it appears youtube has some sort of anti-afk measure to prevent its autoplay from ...
0xFFF1's user avatar
  • 153
0 votes
0 answers
116 views

How can I create a GPO script per user for Windows 7 (local machine/non domain client)?

I would like to create a logon script for a particular user on my Windows 7 PC. I tried changing the setting in gpedit.msc but this affects all users including admin users. Where can I change the ...
S.McDonald's user avatar
12 votes
2 answers
11k views

How can I restore a lost Tampermonkey userscripts

Recently my chrome glitched and tampermonkey just stopped working. I uninstalled and then reinstalled extension (with hope that scripts stay in place), but my scripts got deleted. Luckily I have a ...
Artem P's user avatar
  • 354
0 votes
1 answer
459 views

Multiple Hyperlinks to Multiple Files

I have an Excel spreadsheet that lists all of my stock (equity) sales and purchases in a FIFO type scenario for tax purposes, and it would make it really easy if I could hyperlink the official trade ...
Scotties1's user avatar
0 votes
1 answer
2k views

Input automation for Internet Explorer 11

I'm working on a large web app for which very frequently run tests in IE11. To commence with the test, I need to supply credentials and click the login button, then navigate to a constant URL. Is ...
ProfK's user avatar
  • 2,621
0 votes
1 answer
104 views

What Code Forces Widescreen in Youtube?

What code do I use to force widescreen and 360p on Youtube? I'm using the following style in Stylish: https://userstyles.org/styles/101312/dark-youtube-light-blue
dee's user avatar
  • 11
1 vote
1 answer
2k views

.sh files from command prompt?

Can you call a .sh file from the windows command prompt using any of these programs. For example: msys myscript.sh Or c:\temp\msys.exe myscript.sh Is it possible? As I would like to batch file ...
Connor Herman's user avatar
0 votes
0 answers
115 views

Filtering search results the Google's way

I'am not fluent in english,so let the images explain it to you Any userscript or software that can help me achieve this? I have already tried Google CSE,Chrome personal-blocklist, and they do not ...
nasekt's user avatar
  • 21
1 vote
1 answer
146 views

Prevent Chrome/Chromium from wiping userscript settings when you clear cookies

When you clear cookies/localstorage in Chrom* your userscript settings get wiped. Is there a way to preserve this in some way? I'd like to not have to reconfigure them every time I delete my browsing ...
Jade's user avatar
  • 11
3 votes
1 answer
3k views

Automatically update a greasemonkey script under development

I am a big fan of greasemonkey but there is one thing I don't like - every time when I updated a script, I need to drag the script from explorer to a browser window, wait a few seconds and click "...
Codism's user avatar
  • 943
5 votes
1 answer
483 views

Open links in Gmail on Chrome in Firefox

I use Firefox as primary browser, but use Gmail in Chrome. I'd like all the links in e-mails and chat to open in a new Firefox tab instead of a new Chrome tab, automatically (I know copy-paste, drag ...
Joan's user avatar
  • 185
0 votes
2 answers
2k views

Tool for sending mouse movement/click signals to a browser tab periodically [closed]

I'm running a flash application in the browser. The problem is, the application halts if there is no mouse action in 5 minutes. I need an extension or userscript which periodically sends mouse ...
hkBattousai's user avatar
  • 3,121
6 votes
1 answer
4k views

Userscript to bypass websites that disable right clicking in the browser?

I'm using a website that uses the following code in their html source (as discussed here on Stack Overflow), as a way to disable right-clicking on the web page: <body oncontextmenu="return false;"&...
user avatar
8 votes
1 answer
6k views

How do I install userscript from the local machine with GreaseMonkey 1.12 (2013 autumn)?

I use Greasemonkey 1.12 with Firefox 24. I have an userscript file on my computer. I cannot find the way to install my already written userscript from my local machine - how it is done? There used ...
n611x007's user avatar
  • 6,406
0 votes
1 answer
254 views

Drawing Tables with scripts or programs in lotus notes

I need to send our report on daily basis. is there any way I can automate it? It was about 10 csv file, all I need to do is to get the first line of all of them and make a table and send to a pre-...
user avatar
1 vote
1 answer
213 views

XKCD Random Viewing? [closed]

I have discovered through my reading of XKCD that it feels funnier when viewed randomly. However, since I have read about 2/3 of the comics, that I am quickly getting into repetetive clicking of the ...
Champaigne Chips's user avatar
0 votes
1 answer
636 views

Is there a way to write a macro to execute an Eclipse perspective's button repeatedly?

Here's the deal: I'm working with a language/tool called detica netreveal dataserver. It's very similar to the SAS language, but it's not sas. The eclipse we use has a Dataserver perspective. When ...
user1068446's user avatar
  • 1,420
1 vote
1 answer
5k views

How to bypass a URL shortener with advertising?

I'm looking for a script to bypass links provided by the website 1short.us to get the download link directly. For example: http://1short.us/368527 Is there any way to do that? I found this user ...
KorkOoO's user avatar
  • 203
23 votes
1 answer
10k views

Is it possible to synchronize userscripts between Google Chrome installations? [duplicate]

I've noticed that userscripts aren't automatically synchronized like (regular) extensions in Google Chrome. Is there any way to ensure that userscripts are synchronized between Chrome installations?
Anderson Green's user avatar
2 votes
0 answers
239 views

Userscript to add website screenshot for each google search result?

Before the "preview pane" for google web search results came out from their labs, there already were userscripts to have a visual snapshot for each and every website in a web search query result. ...
n611x007's user avatar
  • 6,406
3 votes
1 answer
903 views

Does IE10 Metro support userscripts?

With Windows 7, I used google chrome and installed a bunch of userscripts to enhance my youtube experience (replay button, download options, etc). Now that I have Windows 8, I want to get the same ...
myermian's user avatar
  • 1,297
1 vote
2 answers
3k views

Periodically opening a web page in Google Chrome?

I want my browser (Google Chrome) to periodically open a web page in new tab. The period must be configurable at a wide range. A browser extension or userscript is acceptable. Please do not suggest ...
hkBattousai's user avatar
  • 3,121
23 votes
3 answers
88k views

How can I disable javascript popups/alerts in Chrome?

Sorry if it's been asked. I've already found several solutions that aren't working. Not sure what I'm doing wrong. I don't want to disable all javascript, only Javascript alert boxes. The ones that ...
CreeDorofl's user avatar
  • 2,383
61 votes
3 answers
30k views

How to install a private user script in Chrome 21+?

In Chrome 20 and older versions, you could simply open any .user.js file in Chrome and it would prompt you to install the user script. However, in Chrome 21 and up, it downloads the file instead, and ...
Mathias Bynens's user avatar
0 votes
2 answers
598 views

See installed userscripts on chrome

How can I see and manage the userscripts that I have installed on chrome? I have tried looking for an option in the extensions section, but there is none. is there a place/page that I can access that ...
Stingervz's user avatar
  • 191
1 vote
1 answer
533 views

Can I just get my user script to load when only doing CTRL+S and F5?

Currently I have to open it in Google Chrome from Notepad++ (CTRL+ALT+SHIFT+R) and click two buttons in Google Chrome and reload the page each time I want to get my user script loaded again in Google ...
Tamara Wijsman's user avatar
3 votes
3 answers
4k views

Install user scripts on Chrome

I created a JavaScript file, and named it test.user.js. I tried double clicking it, dragging & dropping it into Chrome and opening it with Chrome, but it won't install. I've already installed the ...
Ahatius's user avatar
  • 207
5 votes
2 answers
5k views

Convert [object XrayWrapper [object HTMLSpanElement]] to html tag

In a userscript i am getting [object XrayWrapper [object HTMLSpanElement]] instead of html span tag. How can i get the html tag like <span>--</span> from this object?
UserPink's user avatar
3 votes
2 answers
4k views

How do I prevent automatic browser page refreshment done by Javascript?

There are some news websites which automatically and periodically refresh their page just in order to show the user more advertisement. If you are watching a video, all the buffered stream is gone ...
hkBattousai's user avatar
  • 3,121
1 vote
1 answer
3k views

How to allow local storage for one specific userscript, but disable it globally?

I'm using Firefox 10.0 with Greasemonkey 0.9.15. I want to use a userscript, that requires access to local storage. I don't want local storage to be allowed globally. Is there a way to achieve this ...
mimokrokidil's user avatar
4 votes
5 answers
2k views

How to loop YouTube videos?

Is there any plugin/script for Google Chrome (or any other browser) which allows me to play any YouTube video in a loop without any user intervention? I know of youtuberepeater.com but I don't want to ...
Mayank's user avatar
  • 2,218
3 votes
3 answers
326 views

Filling out form fields in Opera where the wand doesn't cover

Is there a function in Opera that allows me to fill in form fields with repeated information or data that isn't covered by the Magic Wand? Or a way to have Opera's Wand be able to store information ...
0xC0000022L's user avatar
  • 7,073
0 votes
1 answer
2k views

Passing arguments to shortcuts through start+run?

I've been making shortcuts to thing I use often so I don't have a cluttered taskbar. I have shortcuts for games, thunderbird, etc, and just type winkey+r tb for thunderbird or winkey+r wa x^2+2x+3 dx ...
Caleb Jares's user avatar
  • 2,649