All Questions

290
votes
6answers
335513 views

Get image data in JavaScript?

I have a regular HTML page with some images (just regular <img /> HTML tags). I'd like to get their content, base64 encoded preferably, without the need to redownload the image (ie. it's already...
114
votes
11answers
359552 views

window.close and self.close do not close the window in Chrome

The issue is that when I invoke window.close() or self.close() it doesn't close the window. Now there seems to be a belief that in Chrome you can't close by script any window that is not script create...
7
votes
1answers
11905 views

Choosing and activating the right controls on an AJAX-driven site

So, I am trying to make it where every time I visit any nike.com sneaker page (without the HTML link), it automatically picks my shoe size, adds it to the cart, and checks out for me. I am currently...
24
votes
2answers
8750 views

Run Greasemonkey script on the same page, multiple times?

I'm totally new to Greasemonkey, javascript, in fact all the UI stuff. Requirement: Userscript is run by GS once after the page loads. However, I need the same script to be run multiple times withou...
150
votes
11answers
52476 views

How can I use jQuery in Greasemonkey scripts in Google Chrome?

As some of you may know, Google Chrome has put some severe limitation on Greasemonkey scripts. Chromium does not support @require, @resource, unsafeWindow, GM_registerMenuCommand, GM_setValue, or ...
16
votes
3answers
5474 views

jQuery in Greasemonkey 1.0 conflicts with websites using jQuery

Ever since the new Greasemonkey 1.0 was released a few days ago, every site that has jQuery and where I use jQuery in my Greasemonkey script do not run my script properly. The jQuery I have in my GS s...
22
votes
4answers
19016 views

Stop execution of Javascript function (client side) or tweak it

I want to stop the execution of one single line from a site, so that the whole page is read by the browser except that single line. Or the browser may simply skip the execution of that javascript func...
8
votes
1answers
5872 views

My very simple Greasemonkey script is not running?

I am having issues with this very basic Greasemonkey script, most likely with the metadata configuration. Here is the full source of the basic file // ==UserScript== // @name Google Hello //...
214
votes
10answers
100067 views

How can I use jQuery in Greasemonkey?

I tried putting this line but it doesn't work: // @require http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js jQuery doesn't work in Greasemonkey at all. Is there other way to use jQ...
86
votes
10answers
127986 views

Overriding !important style

Title pretty much sums it up. The external style sheet has the following code: td.EvenRow a{ display: none !important; } I have tried using: element.style.display = "inline"; and element.sty...

Previous Next