Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check if a webapp has React, Angular or Vue installed

Is there a trivial way to see what client-side libraries an application is using when everything is minified/compressed? I am looking at all of the javascript passed to the client from the server but with everything compressed/minified, I'm not necessarily able to tell if one of the three popular client-side frameworks is used. For jQuery, it's as trivial as doing the following in the console:

> jQuery.fn.jquery
"3.2.1"

Is there a similar method for checking the other three "big" frameworks?

like image 710
randombits Avatar asked Sep 11 '19 00:09

randombits


People also ask

How do you identify a project React?

The other method is also straightforward, you can check the React app version by heading over to node_modules/react/cjs/react. development. js. You can see the react project version in the commented section as showing given below.

Can I use React and Vue at the same time?

If you use both Vue and React together it will make it more and more difficult for you to share states and data between parts written with Vue and Parts written with React. What you would have to do is to keep them as independent modules.


2 Answers

I suggest using the developer tools of each framework or an extension such as Wappalyzer. If you want to detect a framework programatically you could have a peek at the source code of the relevant devtools extension. For example I looked at the Vue devtools source code and it looks like you could simply detect Vue like this ..

function detectVue() {
    const all = document.querySelectorAll('*')
    for(let i=0; i<all.length; i++) {
        if (all[i].__vue__) return true
    }
    return false
}

detectVue()
like image 157
Husam Ibrahim Avatar answered Sep 29 '22 04:09

Husam Ibrahim


The easy way I suggest is install the wappalyzer extension Click here

Wappalyzer is a cross-platform utility that uncovers the technologies used on websites.

Below is the live website screenshot for your reference.

enter image description here

Hope it helps

like image 31
Ragavan Rajan Avatar answered Sep 29 '22 03:09

Ragavan Rajan