Open opw0011 opened 6 years ago
@opw0011 Instead of injecting we can take care of the vue case in the else statement
[...document.querySelectorAll("*")].some(n => n.__vue__)
This line of code must be injected into the page context. I tried to use it directly in the else case, but it does not work.
To execute your code in page context, you should inject script like this https://github.com/geekyd/know-your-frontend/pull/10/files#diff-7a9076d6d94e62c13d641aa71f19ae8eR11
@opw0011 @today- Many websites do not allow to inject scripts and might consider it as an attack. Can you suggest alternative approach here?
Detect websites that are made with vue.js
Example website for testing: https://madewithvuejs.com/