Userscript: Syntax Highlighting

  • nucular
    2nd Dec 2014 Member 0 Permalink
    REDACTED
    Edited 2 times by nucular, jacob1. Last: 2nd Dec 2014
  • dom2mom
    2nd Dec 2014 Member 0 Permalink

    Do single line comments grey out everything after them?

    Edited 2 times by dom2mom. Last: 2nd Dec 2014
  • ristovski
    2nd Dec 2014 Member 0 Permalink
    This post has been removed by jacob1: offtopic
  • boxmein
    2nd Dec 2014 Former Staff 3 Permalink
    Well, this script accidentally caused the biggest security flop of the server I've ever seen... that's fun

    Here's the remnants of the thread we used to play with the forum:
    WARNING: lots of audio / flashy / spinny stuff in there. if you might be epileptic, be safe rather than cramped and foaming on the floor.
    linky
    Edited 5 times by boxmein. Last: 3rd Dec 2014
  • boxmein
    3rd Dec 2014 Former Staff 0 Permalink
    I posted it before, but hey, twice is better than once :P

    New update 1.2.0 - fixed line comments running to the end of the file. It didn't handle <br> tags correctly (which were auto-inserted by the powdertoy validator thing)
  • PackedBread
    6th Dec 2014 Member 0 Permalink

    nice update!

    wow! you also fixed that weird thing i had in my post! nice

    Edited once by PackedBread. Last: 6th Dec 2014
  • boxmein
    6th Dec 2014 Former Staff 0 Permalink
    New update 1.3.0 - fixes Firefox and TinyMCE not working well together. (Firefox also ran the userscript inside the little frame TinyMCE created to contain rich text). I suggest everyone update.