d2jsp
Log InRegister
d2jsp Forums > d2jsp > General Help > One-click Add Any Bbcode To Any Text Field On Jsp > Greasemonkey Script
Prev12345Next
Add Reply New Topic
Member
Posts: 14,754
Joined: Dec 14 2006
Gold: 0.00
Feb 3 2012 11:18pm
Thanks for the update.
Member
Posts: 31,186
Joined: Aug 31 2008
Gold: 28,306.50
Trader: Trusted
Feb 4 2012 12:23am
i have the script but see nothing >.> was there more then 1 thing i had to do?> >.> your guide makes no sense.
Member
Posts: 1,648
Joined: Jan 17 2012
Gold: Locked
Trader: Scammer
Warn: 10%
Feb 4 2012 12:35am
Anyone here can Speak german and can help me to Install this?

Browser: Google Chrome

This post was edited by Rapsoul on Feb 4 2012 12:35am
Banned
Posts: 32,873
Joined: Apr 10 2009
Gold: Locked
Trader: Scammer
Warn: 70%
Feb 4 2012 10:18am
Test
Member
Posts: 64,749
Joined: Oct 10 2008
Gold: 10,357.30
Feb 4 2012 12:05pm
test
Member
Posts: 1,648
Joined: Jan 17 2012
Gold: Locked
Trader: Scammer
Warn: 10%
Feb 4 2012 12:12pm
Quote (Rapsoul @ 4 Feb 2012 06:35)
Anyone here can Speak german and can help me to Install this?

Browser: Google Chrome


Up
Banned
Posts: 2,525
Joined: Jan 2 2012
Gold: 0.01
Warn: 10%
Feb 4 2012 12:48pm
Always read the last post for updated version, if any available ;)

To install in chrome: follow 4 easy steps from my last post:

Quote

INSTALL:
1. uninstall old version
2. create empty file called color.user.js - make sure it doesn't end in .txt - windows often hides file extensions, disable that!
3. paste following code into it, edit buttons section (to have bbcode of your choice) save and exit
4b. drag and drop the file into chrome/firefox window.
Member
Posts: 31,186
Joined: Aug 31 2008
Gold: 28,306.50
Trader: Trusted
Feb 4 2012 01:00pm
Quote (ikusus @ Feb 4 2012 12:48pm)
Always read the last post for updated version, if any available ;)

To install in chrome: follow 4 easy steps from my last post:


3. paste following code into it, edit buttons section (to have bbcode of your choice) save and exit

explain bolded part please. I'm confused about that i don't see the ninja in corner.. o.o

i copied that first code and installed script..



i know nothing about scripts.. especially firefox as its a browser i never use but might start using.
Banned
Posts: 2,525
Joined: Jan 2 2012
Gold: 0.01
Warn: 10%
Feb 4 2012 01:03pm
What browser are you using?

and

What bbcode(s) do you want supported?

buttons section is this part of script:
Code

var buttons = [
{
 "name": "color",
 "html": "<img src='http://forums.d2jsp.org/html/emoticons/ph34r.gif' />",
 "code": {
  "click": function() {
   bbcode_in("[B][COLOR=Purple]", "[/COLOR][/B]");
  }
 }
}
]


Easiest edit is to just replace bbcode you see there -

Code

[B][COLOR=Purple]
and
[/COLOR][/B]

to bbcode of your choice - first is opening bbcode, then closing. Cursor is set in between.
Member
Posts: 64,749
Joined: Oct 10 2008
Gold: 10,357.30
Feb 4 2012 01:07pm
in followed your instructions, but it does nothing.
File is saved as a .js, not a TXT.
i have greasmonkey installed, and the userscripted installed, both enabled
nothing happens though.
Go Back To General Help Topic List
Prev12345Next
Add Reply New Topic