5 Replies - 231 Views - Last Post: 19 October 2017 - 04:17 AM

#1 dmoore53  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 18-October 17

Can't remove Javascript code from <header>...</header&

Posted 18 October 2017 - 02:12 PM

Hi there,

As stated in my question/title, I can't remove Javascript code from <header></header> in my HTML pages. The reason it's simple, ActiveMobi has ceased to exist and I get a ton of broken links due to it.

<script type="text/javascript">var ActiveMobi = new Object(); ActiveMobi.websiteHash="uv7e1WNPzTGwG6HOhpwZNSbAPuZtmxTRMtl2cPeS";</script>
<script type="text/javascript" src="https://detector.activemobi.com/js/detectionUtils.js"></script>


I know it's there when I do "View Source" in any of my pages, but can't see it checking a page at control panel (hostgator) using the three available options: Edit, Code Edit and HTML Editor.

Please see an example: http://www.unique-so...rainforest.html

Every suggestion will be greatly appreciated.

Thanks in advance

Is This A Good Question/Topic? 0
  • +

Replies To: Can't remove Javascript code from <header>...</header&

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13485
  • View blog
  • Posts: 53,844
  • Joined: 12-June 08

Re: Can't remove Javascript code from <header>...</header&

Posted 18 October 2017 - 02:28 PM

Is that code added by your hosting site?
What is it doing?
Was This Post Helpful? 0
  • +
  • -

#3 dmoore53  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 18-October 17

Re: Can't remove Javascript code from <header>...</header&

Posted 18 October 2017 - 02:45 PM

No, I added it myself almost 3 years ago when I created the mobile version of my desktop website. ActiveMobi told me to put it in all my pages. I'm not a technical person so I don't have a proper explanation for it. They actually took down my mobile site without any warning or notification whatsoever. I found that out only recently, when trying to access it for maintenance.

The present scenario is: Don't have a mobile site any longer, my overall traffic has dropped and I get nearly 1.000 broken links. Tell me about pleasing Google!

Sorry for the rant.
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13485
  • View blog
  • Posts: 53,844
  • Joined: 12-June 08

Re: Can't remove Javascript code from <header>...</header&

Posted 18 October 2017 - 02:49 PM

Then I am confused.. If it is no longer valid then remove the javascript from the code when editing it, save it, and move on.
Was This Post Helpful? 0
  • +
  • -

#5 ArtificialSoldier  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1828
  • View blog
  • Posts: 5,755
  • Joined: 15-January 14

Re: Can't remove Javascript code from <header>...</header&

Posted 18 October 2017 - 03:22 PM

That page is kind of a mess, there a bunch of Javascript errors to start with, and then it constantly hits another runtime error about twice per second until I close the page.

I'm a little confused though. If you added this yourself, why don't you know how to remove it? Wouldn't it be the same way you added it?
Was This Post Helpful? 0
  • +
  • -

#6 dmoore53  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 18-October 17

Re: Can't remove Javascript code from <header>...</header&

Posted 19 October 2017 - 04:17 AM

Thanks for your input. I've finally managed to remove the unwanted javascript code from header.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1