Sure. I'd love to have all stats, but feel free to turn that off. Just add

delete Jmol._tracker

somewhere after loading JSmol.min.js






On Mon, Jan 20, 2014 at 10:53 AM, Charles Harrison Shubert <[email protected]
> wrote:

>  Hi,
>
>  When running JSmol, I noticed that there was a network message sent to
> http://chemapps.stolaf.edu/jmol/JmolTracker.htm?id=UA-45940799-1' and
> some google analytics activity.
>
>  I’d like to turn this tracking off.
>
>  On searching around JSmol I found the following:
>
>   Jmol._track = function(applet) {
>    // this function inserts an iFrame that can be used to track your
> page's applet use.
>    // By default it tracks to a page at St. Olaf College, but you can
> change that.
>    if (Jmol._tracker && !Jmol._isLocal){
>    try {
>      var url = Jmol._tracker + "&applet=" + applet._jmolType +
> "&version=" + Jmol._version
>        + "&appver=" + self.___JmolVersion + "&url=" +
> encodeURIComponent(document.location.href);
>      var s = '<iframe style="display:none" width="0" height="0"
> frameborder="0" tabindex="-1" src="' + url + '"></iframe>'
>      Jmol.$after("body", s);
>    } catch (e) {
>      // ignore
>    }}
>    delete Jmol._tracker;
>    return applet;
>  }
>
>       // this url is used to Google Analytics tracking of Jmol use. You
> may remove it or modify it if you wish.
>  Jmol._tracker: '
> http://chemapps.stolaf.edu/jmol/JmolTracker.htm?id=UA-45940799-1',
>  Jmol._isLocal:
> (document.location.protocol.toLowerCase().indexOf("file:") == 0),
>
>
>  My choices for turning tracking off in my javascript seem to be:
>
>  1. set Jmol._tracker to false.
> 2. set Jmol._local to true.
> 3. set Jmol._track to function(applet) {return applet}
> 4. all of the above
> 5. something else
>
>  Choices 1,2, and 3 all seem to remove tracking either independently or
> when used together.
>
>  What would you recommend for my long term solution?
>
>  Thanks,
>
>  —Chuck
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to