Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<script type="text/javascript"> function setAttributeOnload(object, a..

Decoded Output download

<?  &lt;script type=&quot;text/javascript&quot;&gt; 
    function setAttributeOnload(object, attribute, val) { 
      if(window.addEventListener) { 
        window.addEventListener(&#39;load&#39;, 
          function(){ object[attribute] = val; }, false); 
      } else { 
        window.attachEvent(&#39;onload&#39;, function(){ object[attribute] = val; }); 
      } 
    } 
  &lt;/script&gt; 
&lt;div id=&quot;navbar-iframe-container&quot;&gt;&lt;/div&gt; 
&lt;script type=&quot;text/javascript&quot; src=&quot;https://apis.google.com/js/plusone.js&quot;&gt;&lt;/script&gt; 
&lt;script type=&quot;text/javascript&quot;&gt; 
        gapi.load(&quot;gapi.iframes:gapi.iframes.style.bubble&quot;, function() { 
          if (gapi.iframes &amp;&amp; gapi.iframes.getContext) { 
            gapi.iframes.getContext().openChild({ 
                url: &#39;https://www.blogger.com/navbar.g?targetBlogID=6336680638546809762&blogName=Ngudang&publishMode=PUBLISH_MODE_BLOGSPOT&navbarType=DISABLED&layoutType=LAYOUTS&searchRoot=http://ngudang.blogspot.com/search&blogLocale=en_GB&v=2&homepageUrl=http://ngudang.blogspot.com/&blogFollowUrl=https://plus.google.com/116653534445211602300&vt=-882257965008934266&#39;, 
                where: document.getElementById(&quot;navbar-iframe-container&quot;), 
                id: &quot;navbar-iframe&quot; 
            }); 
          } 
        }); 
      &lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt; 
(function() { 
var script = document.createElement(&#39;script&#39;); 
script.type = &#39;text/javascript&#39;; 
script.src = &#39;//pagead2.googlesyndication.com/pagead/js/google_top_exp.js&#39;; 
var head = document.getElementsByTagName(&#39;head&#39;)[0]; 
if (head) { 
head.appendChild(script); 
}})(); ?>

Did this file decode correctly?

Original Code

&lt;script type=&quot;text/javascript&quot;&gt;
    function setAttributeOnload(object, attribute, val) {
      if(window.addEventListener) {
        window.addEventListener(&#39;load&#39;,
          function(){ object[attribute] = val; }, false);
      } else {
        window.attachEvent(&#39;onload&#39;, function(){ object[attribute] = val; });
      }
    }
  &lt;/script&gt;
&lt;div id=&quot;navbar-iframe-container&quot;&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;https://apis.google.com/js/plusone.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
        gapi.load(&quot;gapi.iframes:gapi.iframes.style.bubble&quot;, function() {
          if (gapi.iframes &amp;&amp; gapi.iframes.getContext) {
            gapi.iframes.getContext().openChild({
                url: &#39;https://www.blogger.com/navbar.g?targetBlogID\0756336680638546809762\46blogName\75Ngudang\46publishMode\75PUBLISH_MODE_BLOGSPOT\46navbarType\75DISABLED\46layoutType\75LAYOUTS\46searchRoot\75http://ngudang.blogspot.com/search\46blogLocale\75en_GB\46v\0752\46homepageUrl\75http://ngudang.blogspot.com/\46blogFollowUrl\75https://plus.google.com/116653534445211602300\46vt\75-882257965008934266&#39;,
                where: document.getElementById(&quot;navbar-iframe-container&quot;),
                id: &quot;navbar-iframe&quot;
            });
          }
        });
      &lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;
(function() {
var script = document.createElement(&#39;script&#39;);
script.type = &#39;text/javascript&#39;;
script.src = &#39;//pagead2.googlesyndication.com/pagead/js/google_top_exp.js&#39;;
var head = document.getElementsByTagName(&#39;head&#39;)[0];
if (head) {
head.appendChild(script);
}})();

Function Calls

None

Variables

None

Stats

MD5 a98270ea34728e2a3909b206d85c3aa6
Eval Count 0
Decode Time 85 ms