javascript - I'm using a mobile broadband usb stick and it's inserting a script into my pages. How can I stop it? -


i've started using 3g mobile broadband usb stick. it's t-mobile, uk mobile commmunications company. seemed well, until tried test site i've been developing locally on uploading live server.

when @ code of live site, can see 2 things strange happening:

  1. a script being inserted head of documents specifically: <script src="http://1.2.3.8/bmi-int-js/bmi.js" language="javascript"></script>

    is there can put in code prevent script insertion?

  2. normally css included in page like:

    <link href="style.css" rel="stylesheet" type="text/css" />

however when in source, css has been inserted directly page between script tags like:

<style type="text/css" style="display:none">div.calendar{color:#000;font-family:verdana,geneva,arial,helvetica,sans-serif;-moz-box-shadow:0px.....

this happening javascript files also.

what going on?

the modifications you're seeing aren't present in site's markup. i've visited site , can verify this. what's happening is, t-mobile trying "optimize" site visited using wireless stick, , doing bad job of it. this guy's reporting same problem:

it turns out t-mobile (and vodafone uk) think appropriate insert own javascript each page visit, pipes images through proxy degrade quality. however, due improperly terminated newline, script cannot parsed firefox or opera in conjunction xhtml 1.1 or xml documents.

here's first few lines of head, see it:

<head>  <meta http-equiv="content-type" content="text/html; charset=utf-8" />  <title>the smile zone | home</title>  <link rel="stylesheet" type="text/css" href="manager/templates/smiletemplate/css/style.css" />  <link type="text/css" rel="stylesheet" href="http://www.jotform.com/css/styles/form.css?v3"/>  <link href="manager/templates/smiletemplate/css/calendarview.css" rel="stylesheet" type="text/css" />  

i don't know if can override behavior of wireless service, can rest assured other visitors site aren't having same issues.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -