Questions tagged [tampermonkey]

Tampermonkey is a userscript manager for Google Chrome, Microsoft Edge, Safari, Firefox, Opera, Dolphin Browser, and UC Browser. Tampermonkey scripts are privileged JavaScript code snippets, with access to a custom API that allows you to customize the way web pages look and act.

Tampermonkey is a userscript manager for Google Chrome, Microsoft Edge, Safari, Opera Next, and Firefox.

Tampermonkey allows users to apply customized javascript to sites, to alter how the sites look and/or behave. Multiple websites can even be "mashed up" via cross-site scripting techniques. (Tampermonkey scripts have fewer security restrictions than ordinary javascript).

Tampermonkey differs from native Chrome userscripts in that Tampermonkey supports almost all of the Greasemonkey API, and Tampermonkey scripts are now easier to install and manage than native userscripts. Installation is not restricted to Google's store, so popular sites like userscripts.org still work.

Tagging Guidance:

Please do not tag Tampermonkey questions with , unless the script is meant to also work as a native Chrome userscript (which is usually not the case).


References and Resources:

1715 questions
0
votes
1 answer

getting a reference to an element created with javascript using Tampermonkey

I am using Tampermonkey to get an element that was previously created with javascript. The code used to create the element looks like this: a = document.getElementById("iframe").contentDocument.createElement("canvas") I tried var canvas =…
Herr
  • 33
  • 4
0
votes
2 answers

How can I get Youtube comments using Jquery and Youtube api V3?

So, I saw a lot of question in this subject, but all answers is start with old gdata url, which is dosen't work anymore. I would like to get comments for every video, if I click a (appended) button on this…
user3545446
  • 137
  • 8
0
votes
1 answer

How to overwrite with fake data or disable "fingerprinting" by user identifying js object: navigator

The navigator object is used to identify users browsing. Even if you have extensions installs which help block a lot of identifying scripts, it seems that the navigator object is always available. Some identifying characteristics I'd like to feed…
0
votes
0 answers

Toggling click handler using waitForKeyElements

I recently discovered, waitForKeyElements. An amazing utility from BrockA. I'm using the userscript below in Tampermonkey to automatically accept chats from SalesForce's LiveAgent. Works great, my question is if there's a way to add a button or a…
0
votes
1 answer

Remove listings from Ebay search that have no shipping cost specified

I tried to write a greasemonkey script that would remove search results on Ebay that say 'Shipping not specified'. The code below removes only some of them and sometimes even those that have shipping cost specified or maybe it works on 1 item only.…
SinsBird
  • 3
  • 3
0
votes
0 answers

Tampermonkey cant delete an element

Im using Tampermonkey with jQuery and i try to remove few facebook elements but as i try they just do nothing, i tried with few other elements with them worked but with those which i need to remove, i cant. element which i tried to remove is…
rivor2
  • 25
  • 2
0
votes
1 answer

Expanding Rally Custom grid rows to show task automatically

I am using custom grid to show my stories on dashboard widgets. I want to see my task under story too. This cannot be done unless, I manually click on small triangular image and the expand row to show tasks under story. Is there a way to do this…
PAS
  • 1,791
  • 16
  • 20
0
votes
1 answer

getting the images that load in a page dynamically

I'd like to get all the images in a facebook newsfeed as it is loaded. I'm running a tampermonkey script. I'm having a few problems: the end result is including in the images with urls that I'm excluding (with facebook static urls). it only…
user65165
  • 874
  • 1
  • 8
  • 11
0
votes
1 answer

I have downloaded a script from my friend over the internet, (tampermonkey) will he be able to update the script without me knowing?

Basically, it is a script on a betting site and the site has a function to send money to friends, it is possible to make a script designed to steal money, the script he has sent does not include this line of code, however I am worried that he may be…
0
votes
1 answer

How can I setup a cross-domain call in Tampermonkey to get a divs contents

I have been toying around with this for a few days now and I don't feel any closer to successfully gathering a string of data within a tampermonkey script. The closest I have gotten to a result was using this code…
Ziggles
  • 101
  • 1
  • 9
0
votes
1 answer

Greasemonkey Adding a Button to cycle through IDs

I am new to this site! :) I want to ask a question, the question is that, I want a tampermonkey/greasemonkey script in which a button (example- next) becomes available somewhere on the page and on clicking the button, it basically goes to the 2nd ID…
KJ1
  • 53
  • 1
  • 8
0
votes
1 answer

Change every word with TamperMonkey

I want to get every word or every sentence (not HTML code) from the page, then send it to the server via POST, get response and change that word/sentence/whole text with the response. My code runs after click from TamperMonkey context menu: //…
Defozo
  • 2,946
  • 6
  • 32
  • 51
0
votes
0 answers

How to disallow redefining functions in javascript?

I have web page with such javascript: