cancel
Showing results for 
Search instead for 
Did you mean: 

Add javascript on top of the page

Add javascript on top of the page

I have built my own extension in magento2 to add script into the head section of the html document, and I did it successfully. But I need help regarding , how to add script just after the head tag starts. My only goal is that, my script should be the first script on the document.