User:Gestrid/rollbackTouch
Jump to navigation
Jump to search
rollbackTouch is a user script that hides all rollback links on mobile devices. This is useful as it is easy to accidentally tap the rollback links on a touch screen.
See also confirmationRollback which will require confirmation for performing rollback on both desktop and mobile.
Setup
Add the following to your common.js:
importScript('User:Gestrid/rollbackTouch.js'); // Linkback: [[User:Gestrid/rollbackTouch.js]]
Attribution
This script originally came from a user on Wikipedia here and is available under the Creative Commons Attribution-ShareAlike 3.0 Unported License. See this page for details on how to legally reuse this content.