Comments (5)
In the latest release, there is an option to configure the block class name https://github.com/rrweb-io/rrweb/blob/master/src/types.ts#L239
Some previous discussion:
#1
#23
Is the block hook still needed with this implementation? Since the block check may be triggered very frequently, personally I prefer some simple check instead of calling a function.
from rrweb.
Thanks! After reading these, I agree that performance counts. And maybe this configuration helps.
However, I meet a problem. I want to block two elements (class .slide-banner
, class .feed-back
) in the page when recording. It seems that I can just block one by blockClass
.
Or I have to make the maintainers update their code.
from rrweb.
Maybe extend the type of blockClass
from string
to string | RegExp
?
from rrweb.
Good idea. It helps.
from rrweb.
@alienzhou in the 0.7.12
release the block class option now accept RegExp for checking. But there is still one thing left.
We currently apply some styles for the blocked area when replaying, based on injecting some dynamic stylesheets into the <iframe/>
.
And I think there is no way to do things like this on RegExp type class name matcher.
from rrweb.
Related Issues (20)
- [Question] Release schedule HOT 1
- [Bug]:使用了原生HTML的select标签在回放过程中option选项为什么是看不到的 HOT 1
- Sentry potentially violating copyright license HOT 2
- [Bug]: css capture that doesn't display in all browsers HOT 3
- [Bug]: Events repeat generated after the iframe appeared
- [Bug]: on passing existing events to replayer page keeps loading HOT 2
- [Bug]: Missing opacity transition in recording HOT 3
- [Feature Request]: 可以支持主动触发制作快照吗 HOT 2
- [Bug]:can not support animation api HOT 2
- Is it possible to record 3D scenes / canvas? HOT 1
- [Bug]: Player not showing full WebGL scene HOT 1
- 非直播模式,想要动态添加events支持吗?原始数据过大 HOT 1
- [Bug]: relative linked images missing hostname
- [Feature Request]: 目前rrweb的2.0.0-alpha.4版本是否支持iframe的录制?
- [Bug]: Player lags when seeking or goto function is called.
- Snapshot optimization
- How to set up multiple selectors HOT 2
- [Bug]: seeking breaks 2d canvas playback HOT 1
- [Bug]: [ rrvideo ] run rrvideo in linux is error
- [Bug]: TypeError「Xe is not a function」 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rrweb.