Clear Button For Almost Every Text Input Field

Adds clear button for almost every <input type="text">, like ms-clear.

Author
granony
Daily installs
0
Total installs
253
Ratings
0 0 0
Version
1.0.0
Created
2016-01-02
Updated
2016-01-02
License
MIT
Applies to
All sites

This script adds clear button for almost evey text-field in web site without breaking its layout, like ms-clear.
The clear button is displayed on the right side (or left side if text-align=="right") of the inside of the field when the mouse cursor is over the field.
The clear button does not work if the web site puts some elements (such as submit button) on the clear button's place (e.g. search form in Twitter).