S
S
SergejScherbakov2018-03-23 14:09:49
JavaScript
SergejScherbakov, 2018-03-23 14:09:49

How to find a piece of script that creates an HTML element?

There is a script that enlarges a photo on a page and displays it in a dynamically created block next to it. At the same time, it creates a link in the next block to its page. How can I block a specific element under a number of conditions:

  • I can’t track it through the developer console. when the hover is somewhere in the JS file, the button is disabled and when the hover is removed, the lock is also removed
  • the JS file itself is encoded. I tried to decode it, but after reloading the page it is encoded again

Task: block the creation of all "a" elements from this script

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question