Answer the question
In order to leave comments, you need to log in
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
The problem was solved by typing, the element and the function were generated when loading the extension in chrome
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();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question