Questions tagged [tampermonkey]

18 questions
22
votes
3 answers

How can I share Tampermonkey scripts between versions of Chrome?

I use the normal version of Chrome as well as Canary (on both Windows and OS X). It's kind of a pain that my TamperMonkey scripts are only available in one or the other. Trying to maintain both, and synchronize changes I made in one to the other,…
iconoclast
  • 3,260
  • 6
  • 35
  • 38
9
votes
2 answers

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 backup of profile directory. So how I can restore…
Artem P
  • 308
  • 2
  • 10
7
votes
1 answer

How can I get Tampermonkey's Chrome Sync to actually sync?

Firstly, the Tampermonkey sync setup is described here. The above-described process is not working for me, however. I've written a few scripts on one machine, where Chrome Sync is enabled, and have enabled the same sync functionality on a couple of…
Dan
  • 324
  • 2
  • 16
3
votes
1 answer

How to open javascript links in a new tab using tampermonkey / greasemonkey

I use a website for work which employs frustrating JavaScript links. The following post offers a solution: How to open stubborn javascript links in a new tab or new window? However, I haven't been able to amend the scripts offered to work for the…
Larry
  • 31
  • 1
  • 6
2
votes
0 answers

Modify URL Before It Is Loaded On Google Chrome

Every time I load a YouTube video, I find myself first appending &hd=1 to the end of the URL so that the video plays in HD automatically. Over time, this gets annoying, so I would like it to be done automatically. How can I automatically append…
dillmo
  • 2,971
  • 3
  • 15
  • 18
2
votes
0 answers

TamperMonkey set strange cookies

I see some strange cookies (see screenshot below) when using TamperMonkey. It's conflicting with one of the website I use. They starts with TM_ and have extension UUID in the content so I am assuming TamperMonkey is creating…
CodePanda
  • 143
  • 6
1
vote
1 answer

Force Chrome to refresh page upon clicking a specific object

Is there a way I can have the browser refresh the entire page when a specific object is clicked? When I hover over the object Chrome gives me this javascript:submitAction_win0(document.win0,'TERM_CLASSES$tab3$0'); on the bottom left hand corner. I…
user445367
  • 11
  • 2
1
vote
0 answers

How do I reduce chrome's CPU and memory usage on page load?

I am running a Tampermonkey script in Chrome that auto-refreshes every 4-8 seconds a page within a page range that looks for changes in the HTML elements and acts within a certain threshold. The script itself works without a hitch, and I think it…
1
vote
3 answers

Is there a way to yank the selected text into the search field in Chrome?

On Safari this can be done with Cmd+E, and it might even work on Chrome on OSX as well, but when on Windows I browse with Chrome. I do not want to type out what I want to search every time. By search i mean search on the page, not search the…
Steven Lu
  • 3,620
  • 3
  • 35
  • 46
1
vote
1 answer

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 select the Oasis skin but this only changes the…
Demon
  • 53
  • 1
  • 7
1
vote
2 answers

Malwarebytes identified Google Chrome user data as "potentially unwanted"!

A few days back I faced irritating popups called "Ads by Advertise" in Google Chrome, which displays ads when certain highlighted keywords were hovered over. The issue was specific to Chrome (it did not appear on other browsers like MS Edge or…
0
votes
0 answers

TamperMonkey on Chrome[beginner]

I'm trying to make a countertop/wall calendar for my house and want to remove some features to keep others from easily getting to different parts of my google account. when I call the first remove statement alone it works but as soon as I call the…
0
votes
1 answer

Simple code worked in Chrome DevTool but not in TamperMonkey

Foreword: I am amateur, just trying to make my own js script to make some task easier on myself. I'm using and learning JavaScript. The code(s) I've tried: window.history.go(-1); history.back What I wanted to do: Make a script that goes back a page…
0
votes
1 answer

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 installed, the userscript installed and active, and while…
infisxc
  • 81
  • 2
  • 6
0
votes
1 answer

same code work with chrome DevTools console but doesn't work with TamperMonkey

I'm trying to remove a div from this page with TamperMonkey. This code works well with chrome DevTools console var elems = document.getElementsByClassName('hdn hdb-m hfl-m'); elems[0].parentNode.removeChild(elems[0]); but doesn't work with…
JJJohn
  • 425
  • 1
  • 10
  • 25
1
2