Reputation: 11
I checked my site in the W3C validator and it says that there's a script
element in line 36 like this:
9EbDL' /> <script type="text/javascript"> (func
I searched in my HTML and I just found this
<link rel='shortlink' href='https:wp.me/9EbDL' />
<link rel='dns-prefetch' href='//v0.wordpress.com'/>
Where is the <script type="text/javascript">
?
Here are the links:
Upvotes: 0
Views: 77
Reputation: 1181
You need to open the page in your web browser and use the developer tools to find this (injected) JavaScript.
View-Source:
will not evaluate Javascript-Code but show the original source that is received from your server.
It seems that one of your Javascript-files you can observe in View-Source:
-view is responsible for adding the script-tag in question to the DOM.
Upvotes: 1