[GreaseMonkey] Auto Font Changer menu

Shout-Out

User Tag List

Results 1 to 11 of 11
  1. #1
    kynox's Avatar Member
    Reputation
    830
    Join Date
    Dec 2006
    Posts
    888
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [GreaseMonkey] Auto Font Changer

    I never remembered to change my font color when making a post, so finding it rather annoying, i took it upon myself to write a greasemonkey script to automate the process.

    Simply add this script to grease monkey with the specified include and you're good to go.

    Code:
    // ==UserScript==
    // @name           Kynox's Super Awesome Color Changer!
    // @namespace      http://kynox.wordpress.com
    // @include        http://www.mmowned.com/forums/*
    // ==/UserScript==
    
    window.addEventListener("load", function(z) {
        var vB_Editor = unsafeWindow.vB_Editor;
        if ( !vB_Editor )
            return;
        var Editor = vB_Editor['vB_Editor_QR'];
        Editor.format( z, "forecolor", "#00FF00" );
        document.innerHTML = document.innerHTML; // Without this, it doesn't work.. i really do not know why.
    }, false);
    Last edited by kynox; 06-07-2009 at 08:04 AM.

    [GreaseMonkey] Auto Font Changer
  2. #2
    kynox's Avatar Member
    Reputation
    830
    Join Date
    Dec 2006
    Posts
    888
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If anyone works out why the last line is necessary, then please speak out

  3. #3
    Zoidberg's Avatar Elite User
    Reputation
    391
    Join Date
    Mar 2007
    Posts
    1,636
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So that's why I couldn't get it to work
    Edit: And... Still can't get it to work :S

    Abra su mente a la realidad.
    Do NOT contact me about trading section stuff. Contact a section MOD instead.

  4. #4
    Xel's Avatar ★ Elder ★
    Authenticator enabled
    Reputation
    1179
    Join Date
    Jul 2008
    Posts
    2,906
    Thanks G/R
    94/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Trying soon... Lets see if this text will get colored.

  5. #5
    Zoidberg's Avatar Elite User
    Reputation
    391
    Join Date
    Mar 2007
    Posts
    1,636
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Am I doing it right?

    Abra su mente a la realidad.
    Do NOT contact me about trading section stuff. Contact a section MOD instead.

  6. #6
    ReidE96's Avatar Archer Authenticator enabled
    Reputation
    470
    Join Date
    Dec 2006
    Posts
    1,625
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    kynox, at a guess, it's updating the document.innerHTML with the new altered version (basically reloading the interior of the page).

  7. #7
    kynox's Avatar Member
    Reputation
    830
    Join Date
    Dec 2006
    Posts
    888
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Zoidberg View Post
    Am I doing it right?
    Yeah, however it only seems to work in the QuickReply window. The normal window has a "_001" on the end.

  8. #8
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can't get this working. I modified #FFCC00 to another html color, but nothing's changed whenever I type in here. (QuickReply)
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

  9. #9
    Zoidberg's Avatar Elite User
    Reputation
    391
    Join Date
    Mar 2007
    Posts
    1,636
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Seems to work for me now.

    Abra su mente a la realidad.
    Do NOT contact me about trading section stuff. Contact a section MOD instead.

  10. #10
    Zore's Avatar Banned
    Reputation
    81
    Join Date
    Apr 2009
    Posts
    694
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am going to try this later, when I have the time.
    Thanks.

  11. #11
    Phygar's Avatar ( ͡° ͜ʖ ͡°)
    Reputation
    444
    Join Date
    Nov 2007
    Posts
    1,591
    Thanks G/R
    7/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried this a while ago. I was obviously doing it wrong because it only changed the color that showed up, not the color the vbulletin displayed.

Similar Threads

  1. Best Wow Realmlist Changer (+ Auto Update)
    By Sikas in forum WoW EMU Programs
    Replies: 1
    Last Post: 01-09-2012, 06:26 AM
  2. Damage font changer
    By Chsz in forum WoW UI, Macros and Talent Specs
    Replies: 0
    Last Post: 06-13-2007, 03:07 PM
  3. Auto rez, if u die u only lose 10%
    By bloodofwar in forum World of Warcraft Exploits
    Replies: 2
    Last Post: 05-20-2006, 04:08 PM
  4. Fishing Bot! (Auto-It)
    By janzi9 in forum World of Warcraft Bots and Programs
    Replies: 6
    Last Post: 05-18-2006, 10:23 PM
  5. Auto Responder
    By Matt in forum World of Warcraft Bots and Programs
    Replies: 0
    Last Post: 04-06-2006, 06:12 AM
All times are GMT -5. The time now is 07:49 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search