Recent posts

Subscribe to Recent posts 8540 posts found

4 hours ago
itsjareds 2 posts

Topic: Ideas and script requests / Custom mouse

Hi, I'd like to know how to add this script into the site I want. I tried messing around a little with javascript, but I really don't know how to write it. Could someone write me a script adding this into any site's header?


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<script type="text/javascript" src="webtoolkit.cursor.js">

</script>
</head>

The author says that the doctype has to stay the same, if that would create any difficulties.

 
7 hours ago
Aquilax 159 posts

Topic: Ideas and script requests / SurfTheChannel

Hi Bob, nice job, I haven't test your function, but to convert to and from base64 you have two native function on the window object: window.atob, window.btoa
So you don't need to use references :)

 
8 hours ago
Bob Joshophie 1 post

Topic: Ideas and script requests / SurfTheChannel

Try this java function out. It works great! enjoy.


/*
 * PLASE REFENCE http://www.source-code.biz/snippets/java/Base64Coder.java.txt FOR Base64Coder
 */
	public static String decodeSurfTheChannel(String input_str)
	{
		String s = "";
		String output_str = "";
		boolean validLine = false;

		input_str = Base64Coder.decodeString(input_str);

		for (int i=0; i<=(input_str.length()-152); i++)
		{
			s = input_str.substring(i, (i+152));
			s = Base64Coder.decodeString(s);

			validLine = true;
			for (int x=0; x<s.length(); x++)
			{
				int y = s.charAt(x);
				if ((y<45)||(y>122))
				{
					validLine = false;
				}
			}

			if (validLine)
			{
				output_str += s;
			}
		}

		return output_str;
	}

 
8 hours ago
PaPPy 1 post

Topic: Script development / Caching/Cookies Help

What I am planning on doing I can do on my server, but I would rather no DDoS my own server.

I am parsing the url of the site the greasemonkey script is currently running on
and stripping out the domain/subdomain address.

I then will have that passed to my site and have it checked in the Database.
This script will run on every page.

BUT what i dont want to happen is every page it submit the same domain over and over and over again
is there a way I can do some sort of caching or build a list in a cookie or session variables?

either logging in some sort of session variable that would terminate on end of session on that site
or a cookie that expires in like an hour?

but if it was cookie it would have to be able to maintain multiple lines for tabbed browsing

any suggestions will be much appreciated.
thanks

 
10 hours ago
Sammpo 2 posts

Topic: Userscripts.org discussion / Window and document error!!!!

When i try to download example Attackbuilder script there reads "window" isnt determined and "document" ist determined, anyone can help me?

 
10 hours ago
znerp 357 posts

Topic: Script development / I need your help

// ==UserScript==
// @name           ngn999's script
// @include        http://www.foobar.com/
// ==/UserScript==

inputs = document.evaluate('//input[contains(@src,".jpg")]',document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null)

for (i = 0; i < inputs.snapshotLength; i++) {
  (thisInput = inputs.snapshotItem(i)).parentNode.insertBefore(document.createElement("img").src = thisInput.src, thisInput)
  thisInput.parentNode.removeChild(thisInput)  
}

 
10 hours ago
dob 125 posts

Topic: Script development / Text Editor won't open

LouCypher wrote:

Use the mailing lists for extension issues.

 
11 hours ago
ngn999 5 posts

Topic: Script development / Text Editor won't open

I'm sure that I got the right path of my editor

 
11 hours ago
ngn999 5 posts

Topic: Script development / I need your help

thank yuo very much!
but
there are many images in my web page, and they have different url;
so...

 
11 hours ago
Sammpo 2 posts

Topic: Userscripts.org discussion / Cookie Stealing Scripts

Hi, i got some problem it says windows isnt determined and document isnt determined anyone can help me plz!!

 
12 hours ago
LouCypher 181 posts

Topic: Userscripts.org discussion / Script owners to remove comments

Feedback #4676. It will be implemented.

 
12 hours ago
LouCypher 181 posts

Topic: Script development / Text Editor won't open

Use the mailing lists for extension issues.

 
12 hours ago
znerp 357 posts

Topic: Script development / Text Editor won't open

Are you sure that you've got the path of your text editor completely right?

 
12 hours ago
znerp 357 posts

Topic: Script development / I need your help

It's completely untested, but the following should work...

// ==UserScript==
// @name           ngn999's script
// @include        http://www.foobar.com/
// ==/UserScript==

inputs = document.evaluate('//input[@src="http://f.static.flickr.com/23/b.jpg"]',document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null)

for (i = 0; i < inputs.snapshotLength; i++) {
  (thisInput = inputs.snapshotItem(i)).parentNode.insertBefore(document.createElement("img").src = "http://f.static.flickr.com/23/b.jpg", thisInput)
  thisInput.parentNode.removeChild(thisInput)  
}
Also, you didn't need to create this topic twice in different sections of the forum.

 
12 hours ago
ngn999 5 posts

Topic: Script development / I need your help

I want replace

<*input type='image' src='http://f.static.flickr.com/23/b.jpg' onclick="window.open('http://url.drleeuk.com/to/?aBn&z');return true;">

with

<*img src='http://f.static.flickr.com/23/b.jpg'>

all in the site: http://www.foobar.com

<* = <

Can you give me a full .user.js file?

my email is ngn999#126.com .

thank you very much !

 
12 hours ago
ngn999 5 posts

Topic: Script development / Text Editor won't open

Me too.
Ubuntu8.04 firefox 3b5

 
12 hours ago
ngn999 5 posts

Topic: Ideas and script requests / Can you help me?

I want replace

<*input type='image' src='http://f.static.flickr.com/23/b.jpg' onclick="window.open('http://url.drleeuk.com/to/?aBn&z');return true;">

with

<*img src='http://f.static.flickr.com/23/b.jpg'>

all in this site: http://www.foobar.com

<* = <

Can you give me a full .user.js file

my email is ngn999#126.com .

thank you very much !

 
13 hours ago
znerp 357 posts

Topic: Ideas and script requests / Remove or hide specific table rows

You could just find such images and then remove their parentNode. Something like the following...

images = document.evaluate('//tr/td/img[@src="red.gif"]',document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null)
for (i = 0; i < images.snapshotLength; i++) {
  (foo = images.snapshotItem(i).parentNode.parentNode).parentNode.removeChild(foo)
}

 
14 hours ago
Gingerbread Man 1 post

Topic: Ideas and script requests / Remove or hide specific table rows

Hello,

I would really appreciate it if someone could *please* write or point
me to a script that can remove or hide an element based on the
attributes of a descendant tag. Here's an example of the situation:

<tr>
<td><img src="red.gif"></td>
<td>Miscellaneous text</td>
</tr>

The src attribute of the descendant image is the only thing that sets
these table rows apart from the other rows; that means I can't hide it
with CSS. Unfortunately I don't know any Javascript and Platypus has
been no help at all.
If you're not that inclined to help me specifically, I'd like to point out
that such a script has potential to be a versatile customizable
content remover: for example, most forums posts have an avatar
inside a table cell—this could double as a user ignore script.

I've looked around for a suitable script for a really long time, and I've
only been able to find two that more or less fit the description, but
they don't work.

This one hides the entire page (!) even after I set keywords that
aren't on the page
http://userscripts.org/scripts/show/6562

This one simply does nothing. In Greasemonkey I set it to run on
all pages and I added red.gif to the ignoreList array... but then
again I'm not sure what I'm doing.
http://userscripts.org/scripts/show/6288

 
17 hours ago
Aquilax 159 posts

Topic: Ideas and script requests / Access attachements at top of email.

I don't use gmail, but to move an html element in another place in a page is very easy, just remove it from where it is and append it where do you want it.

 
18 hours ago
azsternfan 1 post

Topic: Ideas and script requests / Access attachements at top of email.

I was asked this by someone.

They have migrated from outlook express to gmail. One of the features in OE that they asked me about was the ability to open an attachment from the top of the email, instead of having to scroll all the way to the bottom.

I did a search, but didn't come up with anything.

Any takers?

 
18 hours ago
Aquilax 159 posts

Topic: Userscripts.org discussion / user script commands missing scripts

Look into your firefox's profile path for the grease monkey scripts directory, inside it you should find all the installed scripts, if any has been installed. It should be something looking like this one:
c:\Users\{your user name}\appdata\Roaming\Mozilla\Firefox\Profiles\gh2f2fwt.default\gm_scripts\....

 
19 hours ago
Kythca 1 post

Topic: Userscripts.org discussion / user script commands missing scripts

I'm having a problem with scripts that are supposed to be in the "user script commands..." part of the greasemonkey menu not being there.

The first time it happened i restarted firefox and that didn't work. I reinstalled the greasemonkey addon itself and restarted firefox and then it showed up.

But now it happened again, and this time, after reinstalling greasemonkey and restarting firefox the script still is not there.

Does anyone else have this happen? Does anyone know what i can do about it?

Thanks.

 
May 12, 2008
Osias 18 posts

Topic: Ideas and script requests / Need help with scripting

you don't need to be that vague

to make a for to iterate to all 'img' elements and simulate a left-click is possible with greasemonkey, I just have to go home now, if you can't find something, I tell you tomorrow.

 
May 12, 2008
Aquilax 159 posts

Topic: Ideas and script requests / Need help with scripting

But this is your job and you are paid for it! or not? If you think that your work can be done by a script go to your chief and tell him about your idea, if your are right they will start a new project to develop a script to help you to do your work. But as you have explained it, it seems fishy to me!
Moreover I don't write script to help people doing their work, I don't ask money for them and I expect that the people using these script don't earn money with them.