Skip to content

Instantly share code, notes, and snippets.

@Sally165
Created April 24, 2023 01:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sally165/4b21a41e53cb666566962f527e949d71 to your computer and use it in GitHub Desktop.
Save Sally165/4b21a41e53cb666566962f527e949d71 to your computer and use it in GitHub Desktop.
<script>
try {
setTimeout(function () {
window.__pagefly_helper_store__ && window.__pagefly_helper_store__.subscribe(function (res) {
document.dispatchEvent(new CustomEvent("ajaxProduct:added"));
});
}, 2500);
} catch (e) {
console.warn(e);
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment