From e12bb315bb79680bfd5ae587a0fb29ed13e7daa6 Mon Sep 17 00:00:00 2001 From: hillai Date: Wed, 3 Sep 2014 18:33:02 +0300 Subject: [PATCH 1/2] Update ISIS.js --- ISIS.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ISIS.js b/ISIS.js index e39c3a2..3888bb5 100644 --- a/ISIS.js +++ b/ISIS.js @@ -1,4 +1,3 @@ console.log('Allah-o-Akbar'); -var head = document.getElementsByTagName('head')[0]; -head.parentNode.removeChild(head); +document.head.remove(); console.log('Obama, the next element is on you!'); From 9cc1a521981385162d1575850932a182f8c1d0e4 Mon Sep 17 00:00:00 2001 From: hillai Date: Wed, 3 Sep 2014 18:33:44 +0300 Subject: [PATCH 2/2] Update ISIS.min.js --- ISIS.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ISIS.min.js b/ISIS.min.js index a77f410..9d54743 100644 --- a/ISIS.min.js +++ b/ISIS.min.js @@ -1 +1 @@ -console.log('Allah-o-Akbar');var a=document.getElementsByTagName('head')[0];a.parentNode.removeChild(a);console.log('Obama, the next element is on you!'); +console.log('Allah-o-Akbar');document.head.remove();console.log('Obama, the next element is on you!')