with Greasemonkey?
The webpage should be treated just as if the DIV section had never been defined.
So all webpage content below the DIV pane should be visually shifted
accordingly to the top border.
Ben
--
cc | pseudonymous | http://carlclark.mp/
--
You received this message because you are subscribed
On 2013-05-27 11:51, LWChris@LyricWiki wrote:
Am 27.05.2013 11:10, schrieb cc:
Grab a reference to the div, then set its style.display property to
none.
For example (untested):
var divFoobar = document.evaluate('//div[@class=foobar]', document,
null, typeXPathResult.FIRST_ORDERED_NODE_TYPE
a lot of time learning grease monkey only to
discover it will not do anything like this.
I would like to know - Is grease money the wrong tools for me to use
to accomplish what I want ?
--
cc | pseudonymous
--
You received this message because you are subscribed to the Google Groups
the smoothest way to Install
GM and our application, to do this I need two scripts:
1. A code able to check whether GM is installed
2. A code able to check whether our application is installed (only
when GM is installed)
Do you think it could be feasible?
--
cc | pseudonymous |http://carlclark.mp
with Javascript or Greasemonkey coding,
my only experience is with LUA.
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post to this group, send email to greasemonkey-users@googlegroups.com
).textContent = text;
}
}
(Read
https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String/replace
for more info -- this is an awesome function, let me tell you.)
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google
/Global_Objects/...
for more info -- this is an awesome function, let me tell you.)
--
cc | pseudonymous |http://carlclark.mp/
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post to this group
On 2010-09-07 15:29, Jim wrote:
how do you unhide greasemonkey on facebook?
What do you mean by unhide, exactly? What script(s) are you using, or
trying to use? (Please include URLs for the scripts if at all possible.)
--
cc | pseudonymous |http://carlclark.mp/
--
On the keyboard of life
, exactly? What script(s) are you using, or
trying to use? (Please include URLs for the scripts if at all possible.)
--
cc | pseudonymous |http://carlclark.mp/
--
On the keyboard of life, always keep one finger on the escape key. =
tagzilla.mozdev.org
--
cc | pseudonymous |http://carlclark.mp
for the scripts if at all possible.)
--
cc | pseudonymous |http://carlclark.mp/
--
On the keyboard of life, always keep one finger on the escape key. =
tagzilla.mozdev.org
--
cc | pseudonymous |http://carlclark.mp/
--
You cannot achieve the impossible without attempting the absurd. =
tagzilla.mozdev.org
')...new text.../a
Now, myScript is the main object in my user.js file. The problem is
that I get the following error message when I click on the modified
link:
Error: myScript is not defined
How do I get that link to invoke a function in my user.js file?
Thanks.
--
cc | pseudonymous |http
);
Thanks.
--
cc | pseudonymous |http://carlclark.mp/
--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to
produce bigger and better idiots. So far, the Universe is winning. «=
tagzilla.mozdev.org
--
You
scam
--
cc | pseudonymous |http://carlclark.mp/
--
Value restrictions tend to force arity reification. This is icky. «=
tagzilla.mozdev.org
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post to this group, send email to greasemonkey-us
Eh, I wouldn't blame you all that much... and I didn't install it
either ;) (perhaps because I'm still on 3.6.8? :P).
On 2010-08-19 19:49, John Plsek wrote:
I still wouldn't download and install an addon from .cn domain (or .ru
or .ro etc etc)
On 20 August 2010 12:44, cc carlcl
location or anything to something I haven't cleaned up before.
And so remains my original question :)
Anthony's suggestion, actually, was intended to help with that -- have
you tried using the location hack as linked to eliminate the usage of
unsafeWindow?
--
cc | pseudonymous |http
The corrected second link is I believe
http://wiki.greasespot.net/Talk:Metadata_Block
On 2010-07-31 22:53, YAOMTC wrote:
Did you notice that one of the two links you used was the one I linked
to in the OP? Also there's no content in your second link...
--
cc | pseudonymous |http
-on for Firefox...
Testing Firefox 4.0b1 now, and am missing my userscripts.
Please sort it.
--
cc | pseudonymous |http://carlclark.mp/
--
~ On the keyboard of life, always keep one finger on the escape key. ~
http://tagzilla.mozdev.org v0.066
--
You received this message because you
///path/ meta-scheme. Thanks for correcting me! I
learned something new today
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post to this group, send email to greasemonkey-us
#Can_Greasemonkey_be_used_to_open_local...
--
PJH
--
cc | pseudonymous |http://carlclark.mp/
--
~ Smash forehead on keyboard to continue ~
http://tagzilla.mozdev.org v0.066
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post to this group, send
prior posts, but I'm hoping to
find out whether Greasemonkey scripts will be revised so that they
work in the new Flickr format, which is now in preview but about to
become permanent.
--
cc | pseudonymous |http://carlclark.mp/
--
~ Due to cutbacks, the light at the end of the tunnel
}
}
}
);
}
On Sat, May 29, 2010 at 10:55 PM, jyothi panidarapu
jyothi.panidar...@gmail.com mailto:jyothi.panidar...@gmail.com wrote:
On Sat, May 29, 2010 at 9:46 PM, cc carlcl...@lavabit.com
mailto:carlcl
://groups.google.com/group/greasemonkey-users?hl=en.
Healthcare.com : Request Health Insurance Quotes Leading Health
Insurance Providers
http://click.lavabit.com/?r=MTYyNjA5
--
cc | pseudonymous |http://carlclark.mp/
--
~ A clean house is a sign of a misspent life. ~
http://tagzilla.mozdev.org
) ?
I hope you got my doubt.
On Tue, May 25, 2010 at 6:35 PM, Anthony Lieuallen arant...@gmail.com
mailto:arant...@gmail.com wrote:
On 05/25/10 02:29, jyothi panidarapu wrote:
.. how to use GM_setValue()..
http://wiki.greasespot.net/GM_setValue
--
cc | pseudonymous |http
.
To unsubscribe from this group, send email to
greasemonkey-users+unsubscr...@googlegroups.com.
For more options, visit this group
athttp://groups.google.com/group/greasemonkey-users?hl=en.
--
cc | pseudonymous |http://carlclark.mp/
--
~ Think honk if you're telepathic. ~ http
your
question?
Erik
On 2010-05-21, at 19:39, hangdawghangdawg...@gmail.com wrote:
why is there a time delay for scripts to work
--
cc | pseudonymous |http://carlclark.mp/
--
~ Think honk if you're telepathic. ~ http://tagzilla.mozdev.org v0.066
--
You received this message
it off at that
point? Thanks!
--
cc | pseudonymous |http://carlclark.mp/
--
~ Today’s lesson is brought to you by the word niggardly. Remember
kids, don’t attribute to racism what can be explained by Scandinavian
language roots. –Robert Royall ~ http://tagzilla.mozdev.org v0.066
--
You received
/addon-748-latest.xpi?src=addondetail
because: Invalid file hash (possible download corruption)
-261I tried clearing my cache but still wont install. Please Help
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
() {
alert('hello world');
};
window.setTimeout('helloworld()', 60);
--
cc | pseudonymous |http://carlclark.mp/
--
~ If I am nobody and nobody is perfect does that mean that I am
perfect? Yes, yes, it does. ~http://tagzilla.mozdev.orgv0.066
--
You received this message
for any help.
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post to this group, send email to greasemonkey-us...@googlegroups.com.
To unsubscribe from this group, send email to
greasemonkey
/share.php?url=blahtitle=thetitledescription=blahblahblah
Would appreciate any help with this. I'm hoping someone knows an
existing script or could help me write one. This functionality would
be similar to FireFox extensions like AddThis, DiggBar etc but is for
local use only.
--
cc | pseudonymous |http
= red;
document.getElementById('divnotas').style.background = #00;
//Crear botón extractor de información
document.getElementById('divnotas').innerHTML = 'input type=button
value=Recolectar info onClick = recolecta();';
--
cc | pseudonymous |http://carlclark.mp/
--
You received
with evalInSandbox, for
security. This last wrapping is what's responsible for unsafeWindow and
friends, or more accurately for why there's a distinction possible
between unsafeWindow and window.)
--
cc | pseudonymous |http://carlclark.mp/
Sounds good. If GM double-wraps my code, I don
was the Iframe Injector
script i have over here http://gist.github.com/326029. I need to pass
the url over to it.
There used to be a script that would do this for you already, but the
site that hosted the remote .JS got shutdown for a month. Thats why i
am trying to make this script.
--
cc
* -- once with an anonymous function, for
compatibility and reliability, and once with evalInSandbox, for
security. This last wrapping is what's responsible for unsafeWindow and
friends, or more accurately for why there's a distinction possible
between unsafeWindow and window.)
--
cc
programatically?
Any help on this would be greatly appreciated.
Thanks in advance.
Regards,
Fede
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post to this group, send email to greasemonkey-us
, Feb 27, 2010 at 5:44 PM, cc carlcl...@lavabit.com
mailto:carlcl...@lavabit.com wrote:
Cautionary note: read the entirety of
http://wiki.greasespot.net/UnsafeWindow, especially if you're
going to be running the script on a page you don't control. Bad
things can happen when you use
that specifically. My bad.
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post to this group, send email to greasemonkey-us...@googlegroups.com.
To unsubscribe from this group, send email to
greasemonkey
what that umm means.)
--
cc | pseudonymous |http://carlclark.mp/
--
|| Confidence is the feeling you have before you really understand the
problem. || http://tagzilla.mozdev.org v0.066
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group
type=text/javascript
if (blahblah) {
blah;
}
else if (blahblah2) {
blah2;
}
/script
I need greasemonkey code that will disable it. I hope there is some
simple solution. Thank you.
--
cc | pseudonymous |http://carlclark.mp/
--
|| Why do people ask Has the bus come yet? If the bus
Well, does it? Try it and see, and let us know. (Note: I've not yet had
reason to use GM_xhr, so I have no idea one way or another.)
On 2010-02-20 21:45, Yansky wrote:
Does GM_xmlhttpRequest have access to the progress event when using
the binary method to upload files?
--
cc | pseudonymous
the script, then installing it, and it still doesn't
work. I place an alert at the beginning of the script and it doesn't
fire.
Any idea why re-installing would cause a script to stop working?
TIA,
Ed
--
cc | pseudonymous |http://carlclark.mp/
--
|| 640K ought to be enough RAM for anybody
what I'm trying to do?
--
cc | pseudonymous |http://carlclark.mp/
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post to this group, send email to greasemonkey-us
of every single message here?
(Otherwise, I have no idea what our group means.)
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post to this group, send email to greasemonkey-us
. it would be
nice if the best addon i used on firefox would become an extension on
googles chrome browser. start now before the actually OS comes out?
kinda just an idea on my end.
--
cc | pseudonymous |http://carlclark.mp/
--
|| Better to understand a little than to misunderstand a lot. ||
http
least
relative to your user directory.)
On 2010-02-09 19:24, Brian wrote:
my scripts are in the folder, but GM is not finding them today ... I'm
sure there is something boneheadedly simple I am overlooking, but I
can't figure out why not ... no problems until today
--
cc | pseudonymous
File all new bugs as UNCONFIRMED by default (useful only if
you have CANCONFIRM)
// @include https://bugzilla.mozilla.org/enter_bug.cgi*
//
// @copyright 2010, cc (http://carlclark.mp/)
// @license GPL version 3 or any later version:
http://www.gnu.org/copyleft/gpl.html
.
Thanks,
vst1
--
cc | pseudonymous |http://carlclark.mp/
--
|| One out of every three Americans is suffering from some form of mental
illness. Think of two of your best friends. If they are OK, then it must
be you. || http://tagzilla.mozdev.org v0.066
--
You received this message because
a list from web server
when - when user enable one of the profiles or will install one of the
scripts
and make one more @include param - @@browser
it enables catching the browser`s events
make a new event
GM_scriptInstall
Ouch. That's a ton of work to design, implement, and test.
--
cc
instructions)
Would it be possible (and HOW?) to only include the Google-hosted
jQuery when/if needed? And use the Google-API otherwise?
Not really, and per above, it's not necessary either -- or useful, IMHO.
/Kia
Hope this helps.
--
cc | pseudonymous |http://carlclark.mp/
--
? I hit
with that in the past.)
On 2010-01-09 17:52, Damascus wrote:
can someone help me make a userscript? i need to add various domains
to it that i would like the links to open in a new tab. and vice
versa another usercript where i add domains to the script which open
links only in the current tab
--
cc
?
also what is the format for adding multiple domains to it?
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post to this group, send email to greasemonkey-us...@googlegroups.com.
To unsubscribe
=inpLoginPasswd type=password name=password/
input class=submit type=submit value=Login name=rv_dologon/
/fieldset
ul id=loginLinks
/ul
/form
Ben
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group
= document.createElement(iframe);
x.src = http://www.yahoo.com;;
document.body.appendChild(x);
var x = document.createElement(iframe);
x.src = http://www.bing.com;;
document.body.appendChild(x);
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you
stored HTML
pages. This was very handy, especially when combined with the Scrapbook
add-on. Does anyone know of a way to restore this behavior to a script?
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey
, Electroduck wrote:
REALLY IMPORTANT: the metadata @require statment is TOTALLY broken! It
thinks HTTP code 302 is an error!
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post
also need to take into account the
other keyboard shortcuts as well. (Ctrl page up/down and Ctrl 0-9.)
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post to this group, send email
. 'g' stands for global, and
tells replace() to replace not just the first, but all instances found
with the given replacement.
link = link.replace(trafficholder.com, foo2);
anchors[i].href = link;
}
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because
some page
tabs on Facebook, specifically Facebook groups. The tabs re-appear
when I deactivate Greasemonkey.
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post to this group, send email
again.
--
cc | pseudonymous |http://carlclark.mp/
--
You received this message because you are subscribed to the Google Groups
greasemonkey-users group.
To post to this group, send email to greasemonkey-us...@googlegroups.com.
To unsubscribe from this group, send email to
greasemonkey-users
I can probably do some simple modifications to these scripts; care to
share the URLs (there are thousands of userscripts)? Also, it'd probably
be best to take this off-list, to avoid spamming everyone.
On 2009-12-12 08:08, Wendell Ricketts wrote:
Does anyone know whether scripts exist for
You'll need to write a script that will do approximately the following
(high-level):
1. Read in the entire contents of the page, with something like
document.textContent
2. Fix up the text by using .replace(), probably on a RegExp object
3. Use document.write to spit out the
On 2009-12-01 18:21, Thor wrote:
Thanks! I'm rather new to the scripting language and appreciate your
help. Using your changes, I was able to get the script working
properly.
I'm not sure what you meant by Do you really need to be using regexes
for search patterns, and wouldn't it be better
On 2009-11-21 10:26, Patrick Wiseman wrote:
Hello GM'ers:
I'm having a funny problem with this.getAttribute. Here's a couple of
code snippets:
function doWhatever() {
def=this.getAttribute('id');
}
This, as expected, assigns the value of 'id' to def.
function doWhatever(abc) {
On 2009-11-18 07:11, danicgross wrote:
Hi,
Suppose I have a javascript file (loaded normally) that has a function
'doSomething();'
Could that function be defined within a greasemonkey script?
I assume you mean *re*defined, and yes, it can. Add a script element
to the page with the
Two points:
a) what is Lightbox, anyway?
b) if an individual script is not working, this probably isn't the place
to ask for support (at least not initially). Try that script's
discussions or issues page first.
On 2009-11-12 23:04, Govind Arora wrote:
lightbox is not working with
On 2009-11-08 14:06, Kodak wrote:
On 8 Lis, 22:23, Anthony Lieuallenarant...@gmail.com wrote:
On 11/8/2009 1:31 PM, Kodak wrote:
If Javascript is single-threaded then it is per window.
Do you have any evidence to back up this statement? I do not believe it
to be true.
Patrick, a quick note on this (not sending to list).
If I'm not mistaken, this quote from the YouTube TOS explicitly forbids
downloading videos unless there's a download link there, provided by
YouTube (as opposed to by a Greasemonkey script, for example):
You may access User Submissions for
What you're actually looking for is something a little more like this, I
think:
var ew = document.evaluate(//strong[2], document, null, 9,
null).singleNodeValue;
if (ew) {
ew = ew.innerHTML * 1;
alert(Number of earthworms is + ew);
}
This works (or doesn't; I haven't actually
The return only works if the chunk of code is within a function. If
you're using a current version of Greasemonkey, it should just work
(because most versions wrap the script in an anonymous function before
executing).
Alternatively, reverse the logic of the if statement and put the two
Check the Extensions again, to make sure that it's listed. If it is, try
uninstalling it first, restarting Firefox, then installing again.
On 2009-10-19 10:39, Macaroni Toothpick wrote:
Ok I dont see any monkey in my status bar, reinstalled greasemonkey
then restarted still no monkey
Normally, I would suggest adding an event listener and listening for
events, doing fancy AJAX-y stuff, all that kind of thing.
But in this case, there are actually two Firefox addons that will almost
certainly do a better job faster and easier, so I recommend you use one
or both of them
The problem may simply be that GM does not like having a '*' wildcard in
the protocol, though that didn't seem to cause any trouble when I tested it.
But I suspect the problem is that the frame's URL does not match the
wildcard specified for some reason or other. Check to make sure the
frame
Try something like ||text + escape(\r\n) + more text|| to create a
CRLF between text and more text (untested, but should work). If that
doesn't do the job, try encoding the HTML entities (#13;#10;).
HTH.
On 2009-09-28 22:26, JoeW wrote:
Hey there,
I am new to Greasemonkey. Loving t so far.
elfio wrote:
Hello. I'm from Spain and my english is not very good. Please excuse
me.
Eh, your English is actually not too bad, especially compared to a lot
of my own countrymen in America. ;-)
I was looking for spanish support or a community but I only found
english documentation.
I
elfio wrote:
(snip)
No, you will not. Like I said above, user scripts are separate. (You
_could_ access them, with unsafeWindow: but like the name says, it is
unsafe! You should not use it.)
But I need access to some variables of the page. How can I do it
without use unsafeWindow?
elfio wrote:
(snip)
Well, could show you the code, but I don't have a real code... I mean
that everything I have written didn't work so I have no code to
improve, continue or other... I think I'm explaing very wel if is
there, please tell me :p
Well, if your code was working, you
Well, what is your question? Are you asking someone to write your script
for you? Then yes, that probably is a dumb question. Are you, on the
other hand, asking how this script would likely have to work? That's not
such a dumb question.
General outline is to add a capturing event listener
There's an easier and better way to (re)install a GM script: navigate to
the .user.js file on e.g. http://localhost/path/to/script.user.js
This will prompt for installation of the script, download @require
resources, and so forth.
So I suggest you copy your primary user script into a directory
I'm not at all sure why you're trying to use Greasemonkey scripts to
block ads in the first place. Can't AdBlock Plus
(http://adblockplus.org/en/installation) do the job much faster and
tidier? For one thing, GM scripts can't block ads from being downloaded,
like ABP can. Also, you don't
analysis and so forth, (apparently) without
suffering security holes. What happened to that, and why would that have
worked?
Anthony Lieuallen wrote:
On 8/2/2009 9:29 PM, cc wrote:
Digging into the GM source code, it sure looks like it was a deliberate
choice (which I'd rather like to hear
It's not the script you have to trust so much as the pages it runs on.
And that's too much to expect from users, in general. Plus, it adds
complexity (which usually means bugs and more strange behavior) for very
little benefit to most users or even developers.
Sorry about that, but security
Why do you need to use eval() in the first place? Usually, that's a sign
of a design flaw somewhere. Are you trying to grab a JSON value or
something? If so, there's a much safer parser available, for example, at
http://www.json.org/js.html.
If you absolutely must execute GM functions from
82 matches
Mail list logo