-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Feature request: URL parameter to disable console logging #1420
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
My use case is implementing this application in an iFrame, where ideally I would like to avoid logging to the console if possible. Some of the output I would like to avoid being displayed is the following:
Describe the solution you'd like
A URL parameter specifying that nothing should be output to the console, something like
?logging=false
.Describe alternatives you've considered
I have tried to intercept calls to
console.*
on my end, but since it is a cross-origin iframe, the following code just results in a DOMException:Additional context
The implementation would simply need to be something along the lines of the following when the URL parameter is present:
The text was updated successfully, but these errors were encountered: