Created
October 28, 2019 01:21
-
-
Save antonybudianto/302a94029f6c3efc5a385d64b19693ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ua=[]; | |
document.querySelectorAll('.kbnDocTable__row').forEach(n => { | |
let fdiv = n.querySelectorAll('.kbnDocTableCell__dataField')[1] | |
let txt = fdiv.querySelector('div > span').innerHTML | |
ua.push({txt, modern: /Chrome\/([1-9][0-9][0-9]|[7-9][0-9]|6[1-9])/.test(txt)}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment