How to know where a specific script is running on a given HTML element?

Asked

Viewed 384 times

1

There is a javascript running on a given page, I would like to find out where it is, ie the path or at least the name. For example: ". /files/global.js.download". I have a page that has several with js, if you delete a can to find but it is very laborious, there must be a way to go straight, face and know which we need to change/ delete.

inserir a descrição da imagem aqui

  • you have already experienced right clicking on the text and inspecting dai you can see how the text calls the script function

  • Just a doubt you who made this page?

  • 2

    The way the friend @Gabriel said works but if the routine was set as an event handler within your JS, no call will contain in your html. The event will be inside your javascript, in this case press F12 to open your "Developer Tools" and in the network tab look for the javascript that are being loaded on the page. Surely within some JS will find a handler calling some JS routine responsible for the effect.

  • Exact , @Rafaelsalomão , but he would have to delete the files the same way or spend a good time looking , there would be no way to search this event?

  • His question is legit, I don’t know why they downvote!

  • I can find it, but the only way I know is to go out one by one to find it, but it’s over 200, I just wanted to find an easier way.

  • Sends the url of this page wants the effect. Edit your question and add page URL

  • https://goo.gl/89WX8d

  • You want to know how to keep changing the text equally on this site ?

Show 4 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.