Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 365669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:33:33+00:00 2026-05-12T13:33:33+00:00

I have a very unique situation. We use a Cisco Web VPN (don’t know

  • 0

I have a very unique situation.

We use a Cisco Web VPN (don’t know the exact name) here at work.

If I try to use the web pages I’ve developed, the javascript is broken.

I have tracked it down to this:

When using the Cisco Web VPN it will actually rewrite some of the HTML/JavaScript code.
For instance, at the very beginning of the source it has stuck the following:

<script  id='CSCO_GHOST' src="/+CSCOL+/cte.js"></script>

This is directly after the <html> begin tag (and not inside the <head> tags).

Inside of that source, cte.js, there is an error. That error is causing jQuery to not function properly. cte.js is part of Cisco’s product and is totally out of my control.

I know how to capture errors with the windows.onerror but that is not working for this situation. The error is occurring before my scripts are loaded into the page.

Any ideas on how to suppress this error or work around such a thing?

I had my <script> tags in the <head> and then moved them to the bottom of the <body> and in neither place does it make a difference.

UPDATE:
After a bit more looking, it is something in jQuery. I commented out the <script> tag for jQuery and the error did not happen. Uncommented, the error came back.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T13:33:33+00:00Added an answer on May 12, 2026 at 1:33 pm

    This is what I had to do to fix the problem. I created a JS file in my web project with the following code:

       if ( typeof SegmentHtml != "undefined" ) {
          SegmentHtmlParam.prototype['filter'] = function() {
             var name = null;
             var value = null;
             for (var i = 1; i < this._tokens.length; i++) {
                var token = this._tokens[i];
                if (token.type === ATTR_NAME) {
                   name = csco_g_buffer.substring(token.first_index, token.last_index).toUpperCase();
                } else if (token.type === ATTR_VALUE) {
                   value = csco_g_buffer.substring(token.first_index, token.last_index);
                };
             };
             var need_processing = false;
             if (ParserClsidName) {
                var tmp = ParserClsidName[this._clsid];
                if (tmp) {
                   var proc = tmp[name];
                   need_processing = typeof proc != 'undefined';
                };
             };
             /**
             * ERROR ON NEXT LINE: name is null
             */
             if (name!=null && name.toLowerCase() == "csco_proto") {
                this._parent['csco_proto'] = value;
             };
             if (need_processing) { this._parent[name] = value; };
          };    
       };
    

    This is the FIRST javascript file I include in my HTML file.

    <script type="text/javascript" src="js/jQueryCiscoKludge.js"></script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have what I hope is not a unique situation... ...and I'm looking for
I am building an ASP.NET web application that will use SQL Server for data
I have two tables one named Person , which contains columns ID and Name
This is probably a common situation, but I couldn't find a specific answer on
I currently have one server with nginx that reverse_proxy to apache (same server) for
I do have a lot of language specific resources. There's one point in my
In my entity data model I have an entity with one property as the
BIG UPDATE: Ok I was getting the whole auto-increment point wrong. I though this
I need to imlement in cocoa, a design that relies on multiple threads. I
This query appears in mysql slow query log: it takes 11 seconds. INSERT INTO

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.