-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make InstantClick work on more sites without configuration #94
Commits on Sep 24, 2014
-
Preserve script node attributes.
Some sites such as Dropbox.com use attributes on script nodes to define how they should be ran (or include non-js script nodes). Previously, only the innerHTML and src attributes would be preserved, often triggering errors or broken functionality. This change uses the cloneNode function to copy the node while preserving all attributes. cloneNode is not supported by FF before 13, so if legacy support is desired an alternate solution will have to be found.
Configuration menu - View commit details
-
Copy full SHA for 3aff921 - Browse repository at this point
Copy the full SHA 3aff921View commit details -
Automatically load head assets
Previously assets in the head of the preloaded page wouldn't be loaded, as only the body was copied. After this change, any tag in the head of the previous page, not in this page, is added to the head after the switch.
Configuration menu - View commit details
-
Copy full SHA for 725844d - Browse repository at this point
Copy the full SHA 725844dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34516af - Browse repository at this point
Copy the full SHA 34516afView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8b764d - Browse repository at this point
Copy the full SHA e8b764dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c1459c - Browse repository at this point
Copy the full SHA 8c1459cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc0a927 - Browse repository at this point
Copy the full SHA fc0a927View commit details -
Use null rather than false to make it a bit more clear that newUrl is…
… not a boolean parameter
Configuration menu - View commit details
-
Copy full SHA for 0a6ba5d - Browse repository at this point
Copy the full SHA 0a6ba5dView commit details -
If someone has called `e.preventDefault()`, or returned false from an event handler in IE8, respect that cancellation.
Configuration menu - View commit details
-
Copy full SHA for 14cc2d5 - Browse repository at this point
Copy the full SHA 14cc2d5View commit details
Commits on Oct 1, 2014
-
Remove and readd all head elements to ensure script tags get executed…
… again. Don't remove attributes to not break Typekit and the like.
Configuration menu - View commit details
-
Copy full SHA for 925fdc5 - Browse repository at this point
Copy the full SHA 925fdc5View commit details -
Remove and readd all head elements to ensure script tags get executed…
… again. Don't remove attributes to not break Typekit and the like.
Configuration menu - View commit details
-
Copy full SHA for 750de62 - Browse repository at this point
Copy the full SHA 750de62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d68f85 - Browse repository at this point
Copy the full SHA 5d68f85View commit details -
Switch to our own cloneNode implementation to ensure script tags get …
…reexecuted Conflicts: instantclick.js
Configuration menu - View commit details
-
Copy full SHA for a008851 - Browse repository at this point
Copy the full SHA a008851View commit details -
Merge branch 'drop-in' of github.com:EagerApps/instantclick into drop-in
Conflicts: instantclick.js
Configuration menu - View commit details
-
Copy full SHA for 7d636c5 - Browse repository at this point
Copy the full SHA 7d636c5View commit details
Commits on Oct 2, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 024e96f - Browse repository at this point
Copy the full SHA 024e96fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 494c69f - Browse repository at this point
Copy the full SHA 494c69fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1544fc4 - Browse repository at this point
Copy the full SHA 1544fc4View commit details
Commits on Oct 13, 2014
-
Override document.write when the page is done loading to fix bug with…
… rerunning scripts that call it
Configuration menu - View commit details
-
Copy full SHA for ae043fd - Browse repository at this point
Copy the full SHA ae043fdView commit details -
Don't call initPage on the initial load, as that would just load all …
…the scripts twice.
Configuration menu - View commit details
-
Copy full SHA for 42c314f - Browse repository at this point
Copy the full SHA 42c314fView commit details