I'm trying to remove css file from document.
ths should work.. ==>
document.getElementsByTagName("link")[1].remove();
but, not working. and when I add some testing code. ==>
document.getElementsByTagName("link")[1].remove();
console.log(document.getElementsByTagName("link")[1].remove());
it's working now.
what is the problem.. or what do I miss ?