Commit Graph

1219 Commits

Author SHA1 Message Date
Yanzhen Yu
73fecd62a0 close #138 change source map into a single file 2019-10-04 23:17:45 +08:00
Yanzhen Yu
a58a118f2c Release 0.7.20 2019-10-04 23:13:58 +08:00
Filip Slatinac
30bbd9e21d Added srcset support (#18)
* added src set as a parsed attribute

* added tests

* changed to /a

* added multiple attribute handling

* added better comment

* made snapshot ignore invalid input as if it is invalid input in the original DOM, it should stay invalid in the recreated DOM

* added extra absolute test case

* code style

* addressed comments
2019-10-01 11:32:50 +08:00
Yanzhen Yu
7203517d15 Release 0.7.19 2019-09-19 12:41:12 +08:00
Yanzhen Yu
7ab5456b3e export add hover class method 2019-09-19 12:40:51 +08:00
Yanzhen Yu
0399bb9595 Release 0.7.25 2019-09-19 10:23:40 +08:00
yz-yu
b64e1492ab add hooks API (#132) 2019-09-17 23:33:38 +08:00
Yanzhen Yu
a5152de531 Release 0.7.24 2019-08-31 16:18:35 +08:00
Yanzhen Yu
c1010c54f2 update rrweb-snapshot to fix #129 2019-08-31 16:16:06 +08:00
Yanzhen Yu
44bdf69a1d Release 0.7.18 2019-08-31 16:13:32 +08:00
Yanzhen Yu
a69791b7f5 fix data url regexp 2019-08-31 16:13:02 +08:00
Yanzhen Yu
31ea2db94d Release 0.3.16 2019-08-29 16:11:00 +08:00
Yanzhen Yu
32f14b3027 Release 0.7.17 2019-08-27 13:45:00 +08:00
yz-yu
215aeeb6b1 add the HACK_CSS flag to bypass css parsing (#16) 2019-08-27 13:42:07 +08:00
Yanzhen Yu
d716a8e41f Release 0.7.23 2019-08-12 21:56:11 +08:00
Yanzhen Yu
487165791a re-add addCustomEvent function via function property 2019-08-12 21:52:24 +08:00
Yanzhen Yu
3beb57273e Revert "temp revert #81"
This reverts commit 835161c737.
2019-08-12 21:26:35 +08:00
Yanzhen Yu
956afc7e80 Release 0.7.22 2019-08-12 21:25:05 +08:00
Yanzhen Yu
c00c4ad646 update mask option test snapshot 2019-08-12 21:24:47 +08:00
Yanzhen Yu
835161c737 temp revert #81
This patch introduce a breaking change in rrweb-record's API, so
we will revert it in 0.7.x and release it in 0.8.
2019-08-12 21:21:53 +08:00
Yanzhen Yu
7ddf1f8ddb Fix #93 update rrweb-snapshot 2019-08-11 20:45:18 +08:00
Yanzhen Yu
f6b93ee27c Release 0.7.16 2019-08-11 20:43:47 +08:00
Yanzhen Yu
13a2985d48 pass mask all input option recursively 2019-08-11 20:43:09 +08:00
Yanzhen Yu
d90e1671c1 Release 0.7.21 2019-08-11 14:41:23 +08:00
Yanzhen Yu
a95759fc9c hotfix throttle function args 2019-08-11 14:41:06 +08:00
Yanzhen Yu
dbcf03e415 Release 0.7.20 2019-08-10 17:32:24 +08:00
Yanzhen Yu
af994ac8bb update rrweb-snapshot for css parse fault tolerance 2019-08-10 17:31:59 +08:00
Yanzhen Yu
4a11591ad7 Release 0.7.15 2019-08-10 17:31:00 +08:00
dphuang2
f7a3c992f8 Fix timeOffset on multiple stylesheet loads (#115)
In the case that the replayer triggers multiple FullSnapshot events, it
will call waitForStylesheetLoad multiple times. When the replayer
resumes, it could already have a timeoffset set from a previous
resume in a previous waitForStylesheetLoad call. In this case our new
timeoffset should be the value of our current time in the replay
(timer.timeOffset + getTimeOffset()). To solve this, I created a public
getCurrentTime function which correctly returns the time in the replay
and used that as our new timeoffset when resuming from a stylesheet
load.
2019-08-10 17:29:23 +08:00
dphuang2
4248b3d2a9 Ignore broken CSS (#15)
Broken CSS inside a page will throw an error on our behalf. This should
be ignored because we are not in control of the CSS on the page we are
recording.
2019-08-10 10:13:03 +08:00
Yanzhen Yu
3269089e1f fix#110 add NodeList forEach polyfill 2019-08-07 23:51:40 +08:00
Yanzhen Yu
0efe23f04a update rrweb-snapshot to fix #112 2019-08-07 23:41:05 +08:00
Yanzhen Yu
950c94d69c Release 0.7.14 2019-08-07 23:39:50 +08:00
Yanzhen Yu
ada77fe861 remove child node before set default value 2019-08-07 23:38:09 +08:00
Yanzhen Yu
9262014948 Release 0.3.15 2019-08-05 12:20:19 +08:00
Yanzhen Yu
1f052c1b2a update rrweb 2019-08-05 12:19:15 +08:00
Yanzhen Yu
56c025fde3 close #84 set mousemoveData's source by event source 2019-08-04 15:06:06 +08:00
Yanzhen Yu
7f32fbdd05 Release 0.7.19 2019-08-04 14:53:42 +08:00
yz-yu
bf68088f18 Css parser (#107)
* add gzip size badges

* update rrweb-snapshot which has a performance boost in CSS parsing
2019-08-04 14:52:24 +08:00
Yanzhen Yu
e48d50a718 update typings 2019-08-04 14:48:22 +08:00
Yanzhen Yu
34170b277b Release 0.7.13 2019-08-04 14:43:02 +08:00
Yanzhen Yu
b22ccd6bc0 fix #14 fix innerText cap issue 2019-08-04 14:40:54 +08:00
Yanzhen Yu
61a99c642a Use css parser to add hover class name to selectors.
Previously we use a regexp to match all the CSS selectors and add
our hover class name to it, which has been proved not solid and
may be very slow in some situation.
Using a production ready css parser can handle this better and also
provide ability's to do more accurate things to the recorded
stylesheets.
2019-08-04 14:35:35 +08:00
shenchenxh
61a3c9f8f6 fix 100 (#102) 2019-07-26 16:21:02 +08:00
Yanzhen Yu
f78070a824 impl #81 custom event
This is the record side impl of custom event, according to the
issue, we may also add first-class support for the custom event
tag like display color labels in the replayer-ui.
2019-07-24 22:32:11 +08:00
dphuang2
b0ee3f8279 added 'pointer-events: none' for Replayer iframe (#96)
'pointer-events: none' prevents the user from interacting with the DOM
inside of the iframe. This prevents accidental tampering by a user when
watching replays such as link clicks or DOM manipulation.

pointer-events supported by 97.15% usage: https://caniuse.com/#feat=pointer-events
2019-07-19 13:24:55 +08:00
Yanzhen Yu
f620f11cb5 Release 0.7.18 2019-07-10 12:35:55 +08:00
肉肉肉肉
b569b84794 new feature: add custom style in replayer (#87)
* new feature: add custom style in replayer

* concat style rules for loop
2019-07-10 12:33:54 +08:00
Yanzhen Yu
df146eef95 Release 0.3.14 2019-06-23 20:08:41 +08:00
Yanzhen Yu
d172b70638 Release 0.3.12 2019-06-23 20:06:29 +08:00