removal.html (375B)
1 <!DOCTYPE html> 2 <meta name="viewport" content="width=device-width"> 3 <!-- This should still have an effect after removal --> 4 <meta name="viewport" content="width=980"> 5 <script>document.querySelector('meta + meta').remove()</script> 6 <style> 7 #box { 8 position: absolute; 9 top: 0; 10 left: 0; 11 width: 100px; 12 height: 100px; 13 background: green; 14 } 15 </style> 16 <div id="box"></div>