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

javascript Timer on the page #240

Closed
randy-johnson opened this issue Jul 9, 2020 · 3 comments
Closed

javascript Timer on the page #240

randy-johnson opened this issue Jul 9, 2020 · 3 comments

Comments

@randy-johnson
Copy link

I have another issue.

We recently added a Javascript counter on the page that we are recording and it is generating an event every second.

Is there anyway to stop rrweb from recording event being generated every second? I tried .rr-ignore and rr-block which hides the timer in the player but the events are still generated

@Yuyz0112
Copy link
Member

Yuyz0112 commented Jul 9, 2020

Could you produce a demo code for this?
.rr-block is designed for this usage, and I would like to check whether it works correctly.

@randy-johnson
Copy link
Author

I had a thought. I put the class on the parent div instead of the div itself and it seemed to take care of the issue. I will work on getting a demo.

@Yuyz0112
Copy link
Member

@randy-johnson I think this issue has been fixed with the latest patch.

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

No branches or pull requests

2 participants