Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: gh-pages
Commits on Mar 23, 2015
Commits on Mar 16, 2015
  1. better eslint rules

    authored
  2. fix variable shadowing

    authored
  3. fix style issues

    authored
  4. Merge pull request #19 from vigneshshanmugam/master

    authored
    Added few fixes on ESLint default rules.
  5. @vigneshshanmugam
  6. @vigneshshanmugam
Commits on Feb 12, 2015
  1. Merge pull request #50 from castle-it/master

    authored
    Optional parameter to await completion in bandwidth plugin before sending beacon
  2. @tghamm
Commits on Feb 9, 2015
  1. @tghamm

    Modified BW plugin to allow it to optionally block for beacon complet…

    tghamm authored
    …ion and to bypass the cookie and run anyways
Commits on Feb 6, 2015
  1. Revert aacb6e3

    authored
    It turns out that this also prevents the beacon from firing on Mobile Safari.
Commits on Feb 2, 2015
  1. Merge pull request #47 from paulcgt/master

    authored
    Changed BW calculation PNG images to be incompressible
    
    Also closes issue #46
  2. @paulcgt

    Changed BW calculation PNG images to be incompressible

    paulcgt authored
    Web servers and other devices may be configured to compress images
    before delivering them to client browsers. This commit replaces the
    original images used in bandwidth calculations with ones that cannot be
    compressed (much). The bw.js plugin has been updated to reflect the new
    image file sizes.
Commits on Jan 29, 2015
  1. Do not send a beacon on iOS WebViews

    authored
    It turns out that submitting a hidden form to an anonymous iframe in
    a UIWebView on iOS will cause a new Safari window to open with our
    beacon URL.  This is not desired behaviour, and until we can figure
    out a better way to send a beacon under these conditions, our best bet
    is to suppress the beacon.
    
    This is not entirely a problem because any beacon that would have been
    sent does not have any timing information (no previous page and no navtiming)
Commits on Jan 14, 2015
  1. Do not send a beacon on iOS WebViews

    authored
    It turns out that submitting a hidden form to an anonymous iframe in
    a UIWebView on iOS will cause a new Safari window to open with our
    beacon URL.  This is not desired behaviour, and until we can figure
    out a better way to send a beacon under these conditions, our best bet
    is to suppress the beacon.
    
    This is not entirely a problem because any beacon that would have been
    sent does not have any timing information (no previous page and no navtiming)
Commits on Jan 12, 2015
  1. Custom Events should be synchronous by default

    authored
    Most custom events should be synchronous.  This allows handlers for
    onBeforeBoomerangBeacon to fire before the beacon is sent so they
    have the ability to modify the beacon.
    
    The only event that should be asynchronous is the onBoomerangLoaded
    event since that needs to fire after all plugins have loaded.
  2. Add a before_unload event that only fires onbeforeunload

    authored
    We had problems where some code that caused beacons to be sent was running
    both onbeforeunload as well as onunload.  Since the RT plugin is the only
    one that does interesting things on these two events, it made sense to create
    a new event called before_unload that only fires on the onbeforeunload event.
    
    The old page_unload event remains the same and will fire on both beforeunload
    as well as unload/pagehide
    
    This patch also reverts all the hacks we put into place to prevent execution
    on unload.
  3. Only look at edata if ename === "xhr"

    authored
    Some websites hijack the browser's event model, and this results
    in a broken event object coming through to our code.  Attempts to
    access this event object throw exceptions.
    
    This patch makes sure we only check the object when the event is
    xhr, so we know that the data was generated by our own code.
  4. If stringifying error turns it into [object ...], then just use error…

    authored
    ….description or error.message
  5. set input element type to hidden

    authored
    This is necessary to preserve newlines in parameter values.
    do not use `textarea` because `textarea.value` may not be
    globally supported, `textarea.innerHTML` will interpret HTML
    in values and `textarea.innerText` will squash newlines and
    whitespace.
Something went wrong with that request. Please try again.