16

I asked about it on meta.scifi.stackexchange.com and they told me to post it here. Probably need to add the :active to the :hover meta class or something like that.

Example:

Hammer Time

4
  • @Kobi, thanks for the edit, the scifi guys had me thinking that only existed on their site and gaming for some reason. Commented Jan 20, 2011 at 14:36
  • 2
    @balpha can this be fixed for the main site? The mobile site is pretty ugly on an iPad (presumably designed for smaller screens), so "use the mobile view" isn't really a great solution for this problem.
    – Tony Meyer
    Commented Sep 1, 2011 at 1:58
  • Seconding Tony's comment. I was attempting to use scifi.se on an iPad and copying and pasting/the mobile site are both pretty unfortunate workarounds.
    – dlanod
    Commented Jan 15, 2012 at 1:23
  • @TonyMeyer this is now "fixed". Commented Aug 6, 2014 at 20:42

2 Answers 2

10

The new mobile sites support this:

Click to show spoiler on mobile site

Beware that the spoiler text is only hidden after the page has loaded...

(Click the "mobile" link at the bottom of this page to see it in a regular browser too.)

1
  • How is "mobile" detected? If it's by user agent, what happens when a privacy-enabled mobile browser strips off that value?
    – Pacerier
    Commented Nov 16, 2014 at 20:41
8

Using the Android browser, this works just fine; it honors the :hover pseudo-class.

Mobile Safari however does not. Adding :active, as you suggested, doesn't work either (I just tested it).

So on your iPod, you're stuck with copying the text to the clipboard (tap and hold the spoiler box, then "copy") and pasting it somewhere else (e.g. in a note).

4
  • good work around. BTW, how did you add :active on mobile safari? Commented Jan 20, 2011 at 14:36
  • @Peter Turner: I added it on my local development version and looked at it via iPod.
    – balpha StaffMod
    Commented Jan 20, 2011 at 14:46
  • oh - I didn't realize you were a dude :-) Was hoping there was a firebug for iPod... Commented Jan 20, 2011 at 14:55
  • I cannot verify, but some claim that nowadays tapping initiates hover on the iPad too, and hence can be used to show spoilers.
    – Arjan
    Commented Apr 15, 2012 at 18:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .