Skip to content
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

Add support for interception against page refreshes #134

Merged
merged 1 commit into from
Jun 22, 2018

Conversation

amitmbee
Copy link
Contributor

  • Tested here, here and here
  • Does not work on some websites due to caching (?) Not sure

@revathskumar revathskumar merged commit 8904719 into master Jun 22, 2018
@revathskumar revathskumar deleted the Support-interception-on-page-refresh branch June 22, 2018 06:49
@@ -167,7 +167,7 @@ class Intercept {
}
})();`;
let script = document.createElement("script");
script.defer = true;
script.defer = false;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was having one concern about this change. Does making make everypage load slower since this script has be loaded and executed before rendering the page iteself ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you test this out and come up with some stats?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants