Mobile app version of vmapp.org
Login or Join
Murray432

: Is it possible to serve ads without javascript (via )? I hate it when useless javascript slows down my machine. Is there a way to do ad placement without JavaScript? I've learned that, for

@Murray432

Posted in: #Advertising #Iframe #WebDevelopment

I hate it when useless javascript slows down my machine.

Is there a way to do ad placement without JavaScript?

I've learned that, for example, iframe element has a sandbox attribute, which lets you disable JavaScript in an iframe. Are there a way to use that to serve ads?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Murray432

1 Comments

Sorted by latest first Latest Oldest Best

 

@Si4351233

There is no need to do this as javascript based ad placements, especially from advertising networks such as Google AdSense are highly optimized to reduce the load on the page, in addition they frequently work asynchronously once the script has been loaded, loading the ad to the page outside the normal document render so it doesn't block the page render. The more likely culprit of page load issues is poorly optimized javascript being injected on your page such as synchronous blocking scripts.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme