gInfinity extends your favorite search engine Google with infinite scroll. Scroll down to the bottom of the search result and the following 20 search results are automatically added to the search result.
10
stars
9
forks
source link
Fixes the extension's behavior that chrome returns maxLength -1 if it… #3
Fixes the extension's behavior that chrome returns maxLength -1 if it is not set. So we check if event.target.maxLength > 0. event.target.maxLength is a number and not a complex element, so the if(event.target.maxLength) works directly on the number.
… is not set.. Fixes #1.
Fixes the extension's behavior that chrome returns maxLength -1 if it is not set. So we check if event.target.maxLength > 0. event.target.maxLength is a number and not a complex element, so the if(event.target.maxLength) works directly on the number.