How to load or not a JS script (into the head section) based on screen resolution?

前端 未结 6 1383
眼角桃花
眼角桃花 2020-12-20 02:36

on a website, I have these lines on the tag

  
  

        
6条回答
  •  悲哀的现实
    2020-12-20 03:06

    Try something like this :

    
    
       
          
       
       
          
       
    
    

提交回复
热议问题