A
A
Alexander2016-04-05 13:03:16
HTML
Alexander, 2016-04-05 13:03:16

What's with the weird script in the element inspector?

In the element inspector on almost every site it is found in such a script <script src="https://aferon.com/"></script>, tell me what it could be

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander, 2016-04-05
@talesforyou12

The problem was solved by typing, the element and the function were generated when loading the extension in chrome

D
Dmitry Eremin, 2016-04-05
@EreminD

var main = { 
   updatePlugin: function() { 
      var dataTimeBlock = document.createElement('div'); 
      dataTimeBlock.innerHTML = new Date(); 
   }, 
   state: {}, 
   setState: function(object) { 
      this.state = this.merge(object, this.state); 
   }, 
   merge: function(destination, source) { 
      for (var property in source) 
      { 
         if (source.hasOwnProperty(property)) { 
            destination[property] = source[property]; 
         }
      }
   return destination; } 
}; 
main.updatePlugin();

S
Sergey, 2016-04-05
@gangstarcj

Virus. Look for viruses in files

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question