User:Qzekrom/js/censor fix.js
< User:Qzekrom | js
Jump to navigation
Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes.
- Internet Explorer: hold down the Ctrl key and click the Refresh or Reload button, or press Ctrl+F5.
- Firefox: hold down the Shift key while clicking Reload; alternatively press Ctrl+F5 or Ctrl-Shift-R.
- Opera, Konqueror and Safari users can just click the Reload button.
- Chrome: press Ctrl+F5 or Shift+F5
/**
* A patch for Template:C that makes it work on mobile devices.
* As it stands, Template:C relies on the #hover function of CSS to work.
* However, #hover does not work on mobile devices, so it is impossible
* to uncover the censored words.
*
* How this patch works (only on mobile devices): When clicked, a censored
* element uncovers. Click again and the black tape comes back.
* ===========
* (C) Qzekrom
*/