Manoj Purohit
Manoj Purohit

Reputation: 3453

Apache: adding javascript code to <head> of my page automatically

I am using wamp server for my project, I ran into this weird thing : when I run my html file directly it shows no additional code but when I tried to run it using apache by keeping it in www root, it shows some weird script in <head> and <body> .

i.e : <script type="text/javascript" async="" src="//r.skimresources.com/api/?callback=skimlinksApplyHandlers&amp;data=%7B%22pubcode%22%3A%2241688X1080834%22%2C%22domains%22%3A%5B%5D%7D"></script>

<script src="https://streamified.s3.amazonaws.com/assets/scripts/defaultinjection.js"></script>

What are these scripts and how these are added to my page ? What are their consequences ? My design also looks all messed up by these scripts. Any Help is appreciated.

Upvotes: 0

Views: 493

Answers (2)

Abdullah Shaikh
Abdullah Shaikh

Reputation: 2604

Skimlinks is one of the advertising affiliate partners that WordPress.com works with to run ads on blogs. I guess your project is on wordpress.com or using wordpress.

Upvotes: 0

Danilo Kobold
Danilo Kobold

Reputation: 2581

It is mot likely being inserted by a browser extension. apache won't do anything like it without explicit request.

Upvotes: 1

Related Questions