CyberNet News
Please login or register.

Login with username, password and session length
Pages: 1 2 3 [4]   Go Down

Author Topic: Greasemonkey Script Request  (Read 7465 times)

0 Members and 1 Guest are viewing this topic.

Ryan Wagner

  • Administrator
  • Hero Member
  • *****
  • Reputation: 51
  • Posts: 3404
    • View Profile
    • WWW
Re: Greasemonkey Script Request
« Reply #45 on: July 11, 2007, 09:25:15 PM »
Yep, I should be able to do that tomorrow night.
Logged

Pieter

  • Sr. Member
  • ****
  • Reputation: 34
  • Posts: 793
    • View Profile
    • WWW
Re: Greasemonkey Script Request
« Reply #46 on: July 12, 2007, 12:11:46 AM »
I created the new script, I copied the source code to a JS file on my desktop and uploaded it. The script itself works, but GreaseMonkey doesn't recognize this link as a script for some reason...
« Last Edit: July 12, 2007, 12:20:33 AM by Pieter De Decker »
Logged
"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." - Rich Cook

bdawg923 (Max)

  • Sr. Member
  • ****
  • Reputation: 21
  • Posts: 897
    • View Profile
    • WWW
Re: Greasemonkey Script Request
« Reply #47 on: July 12, 2007, 06:41:23 AM »
Hmm, that is stange. I tried to drag it onto the Firefox window, and all I got was it opened in a new tab and asked me to Save File or Cancel.
Logged

6.26.09

El Guru (Al)

  • Hero Member
  • *****
  • Reputation: 65
  • Posts: 1535
  • When all else fails...reboot!
    • View Profile
    • WWW
Re: Greasemonkey Script Request
« Reply #48 on: July 12, 2007, 01:54:21 PM »
I created the new script, I copied the source code to a JS file on my desktop and uploaded it. The script itself works, but GreaseMonkey doesn't recognize this link as a script for some reason...
the error message I am getting is 'document' is undefined. Line 8 Character 1

I noticed there is no var (variable name)=

Ryan Wagner

  • Administrator
  • Hero Member
  • *****
  • Reputation: 51
  • Posts: 3404
    • View Profile
    • WWW
Re: Greasemonkey Script Request
« Reply #49 on: July 12, 2007, 09:17:39 PM »
Looking at the code though that won't make the forum URL link to the unread posts. what I need to do is assign an ID on the site to that specific item, and I didn't get around to doing it tonight. I've got a couple other things I'm going to be doing on the site this weekend so I'll make sure to come up with a working script for you as well.
Logged

bdawg923 (Max)

  • Sr. Member
  • ****
  • Reputation: 21
  • Posts: 897
    • View Profile
    • WWW
Re: Greasemonkey Script Request
« Reply #50 on: July 12, 2007, 09:59:41 PM »
Looking at the code though that won't make the forum URL link to the unread posts. what I need to do is assign an ID on the site to that specific item, and I didn't get around to doing it tonight. I've got a couple other things I'm going to be doing on the site this weekend so I'll make sure to come up with a working script for you as well.

Great! Thanks. :)
Logged

6.26.09

Pieter

  • Sr. Member
  • ****
  • Reputation: 34
  • Posts: 793
    • View Profile
    • WWW
Re: Greasemonkey Script Request
« Reply #51 on: July 13, 2007, 12:48:14 AM »
I noticed there is no var (variable name)=
I don't think you have to use 'var' in front of 'document.getElementById'. :)
The script's working fine here, but you can't install it for some reason. What you could try is right-click the monkey icon, click Create new script and then paste the contents of my script the editor that pops up.
Logged
"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." - Rich Cook

bdawg923 (Max)

  • Sr. Member
  • ****
  • Reputation: 21
  • Posts: 897
    • View Profile
    • WWW
Re: Greasemonkey Script Request
« Reply #52 on: July 13, 2007, 06:10:39 AM »
I noticed there is no var (variable name)=
I don't think you have to use 'var' in front of 'document.getElementById'. :)
The script's working fine here, but you can't install it for some reason. What you could try is right-click the monkey icon, click Create new script and then paste the contents of my script the editor that pops up.

It works now! Thanks.  :) +rep
Logged

6.26.09

Ryan Wagner

  • Administrator
  • Hero Member
  • *****
  • Reputation: 51
  • Posts: 3404
    • View Profile
    • WWW
Re: Greasemonkey Script Request
« Reply #53 on: July 13, 2007, 03:37:45 PM »
Ahhh...I see what you did Pieter. For some weird reason my wordwrap wasn't on and didn't see that you essentially replaced every item in the navigation bar. :) I only saw the link to the homepage which is what really confused me.  O0
Logged
Pages: 1 2 3 [4]   Go Up
« previous next »