XenForo Invisitext Handler

Added by subsider35@userstyles, Created: Mar 24, 2015, Updated: Mar 15, 2017
  • With the style applied
  • User Style Off
  • Invisitext Indicator v1.0
  • Invisitext On Mouse Hover v1.0
Underline Style
Highlight Text?
Highlight Color
Text Color
When do you want to reveal text?
[Adv] Override Underline Color?
[Adv] Overridden Underline Color


This userstyle is designed to provide users with a highly customizable, widely compatible way to detect and reformat text with a color value set to "transparent" (aka invisitext) on XenForo forums.

The default settings add indicators to show that invisitext is present, but keeps it hidden until you mouse-over or touch it. This helps maintain the effect intended by the author (hidden text) while ensuring that you are aware of its presence and can easily view it.

Currently Works On: SpaceBattles, SufficientVelocity, QuestionableQuesting, & XenForo.

See Notes for additional details.

Loosely based on Wolf_on_Air@userstyles's http://freestyler.ws/style/105808/sufficient-velocity-faux-spoiler-tags-fix, which was distributed under a CC-BY 4.0 license at the time.
Choose your settings below and then click install/update.
If you ever decide you want to change your settings return to/refresh this page, choose the new settings, and click update.

More info
Screenshots of applied style taken from post #10 of the http://forums.sufficientvelocity.com/posts/2107199/.
──────────────────────────Known IssuesInvisitext Indicator is invisibleNot all users experience this, but as far as i can tell it occurs because, for whatever reason, the inherited text-decoration-color is set to "transparent" instead of the default body text color. Unfortunately, there isn't an easy fix for this. However, you can workaround it by using the advanced option Override Underline Color to specify a non-transparent color for the indicator.──────────────────────────Advanced Options:Override Underline Color - Changes the underline color used to indicate invisitext from the webpage default to the fixed value indicated in "Overridden Underline Color". This change is GLOBAL for all sites covered by this style.This option addresses http://forums.spacebattles.com/posts/20315148/ where the author of a post included nested color tags (i.e. [COLOR="RED"][COLOR="transparent"]InvisiText[/COLOR][/COLOR]) that override the default color scheme (in this example causing the underline created by this style to show up in red).──────────────────────────
Installing this style:
I recommend using the Stylish add-on to run this userstyle. Unlike Greasemonkey and its contemporaries which apply custom JavaScript to a page, Stylish applies custom CSS to a page. Not only are userstyles https://userstyles.org/help/other (they cannot affect how a page acts; only how it looks) they are also more efficient and do not slow down your browser like userscripts do.

Browsers with Stylish Add-ons:

http://sobolev.us/stylish/ (not sure about Mobile Safari).
Release 1.1.2 - Reorganized the options into Regular and Advanced sections to indicate that some options should only be used in special cases.

Release 1.1.1 - Fixed a rare issue whereby the invisitext indicator would itself be hidden as invisitext. Apparently the text-decoration color is !important.

Release 1.1.0 - You can now override the color this style will underline invisitext with (it defaults to 'inherit', which should make the underline color match the color scheme of the website).

Release 1.0.2 - The style will now handle color tags where "TRANSPARENT" is typed in uppercase. This is in addition to the existing proper case and lowercase recognition.

Release 1.0.1 - Gave up on waiting for userstyles to create a screenshot and took some myself. Also fixed more typos in the description and tweaked the text of each dropdown option to start with a capital letter. There were no changes to the style itself.

Release 1.0 - Fixed up some typos, rewrote the description, and gave an example page for userstyles to take a screenshot of.

Release 0.6 - Added the ability to choose the color to highlight text with.

Release 0.5 - Added the option to reveal text always, instead of only on hover/touch.

Release 0.4 - Added QuestionableQuesting as a supported forum.

Release 0.3 - Added the option to completely disable the underlining of invisitext.

Release 0.2 - Added the option to make the background of invisitext Black. This increases compatibility with Firefox Mobile.

Release 0.1 - Initial release. Underlines invisitext with a dotted line and reveals gold text when the mouse hovers over it.

You should to add comment and rate the style.


+ Create discussion

Applies to:
forums.spacebattles.com, forums.sufficientvelocity.com, forum.questionablequesting.com, https://xenforo.com/community/

Related styles:

WARNING: This webware is not functioning properly. Please enable javascript in your browser and try again.