-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
[Bug]: The selection is empty if prototype framework is used #727
Labels
wontfix
This will not be worked on
Comments
orestbida
added
good first issue
Good for newcomers
and removed
bug
Something isn't working
triage
yet to be reviewed
labels
Sep 4, 2024
@claudiuj, this is due to prototype modifying the standard You can restore the default <script>
const iframe = document.body.appendChild(
document.createElement('iframe')
);
const iframeArray = iframe.contentWindow.Array;
document.body.removeChild(iframe);
Array.from = iframeArray.from;
</script>
<script type="module" src="cookieconsent-config.js"></script> This might break other things in your page though. |
orestbida
added
wontfix
This will not be worked on
and removed
good first issue
Good for newcomers
labels
Sep 4, 2024
it is working; Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
I know that Prototype is an old framework but it is still used by Magento 1.9.
Current Behavior
When I use cookieconsent with Prototype (the latest version), the selection saved in the cookie is empty (the categories array is empty)
Steps to reproduce
Proposed fix or additional info.
No response
Version
3.0.1
On which browser do you see the issue?
No response
The text was updated successfully, but these errors were encountered: