Chaturbate Enhancer

通过添加多个新功能来增强 Chaturbate。

< 腳本Chaturbate Enhancer的回應

評論:正評 - 腳本一切正常

§
發表於:2023-06-04

hey, great script!

Found a bug though:

// line 2870
let hls = gMultiRoomsData[username]['hls'];
if(hls) {
  multiUpdateVideoQuality(hls, maxHeight);
}

hls will be undefined after a while (when the statuses get checked), because in the following line you're bombing it

// line 3182, there's also at line 3464, didn't check how much it impacts
gMultiRoomsData[username] = {
  'status': data['room_status']
};

didn't look through thoroughly, so I placed this at both places to not risk it

if (gMultiRoomsData[username]) {
  gMultiRoomsData[username].status = data['room_status'];
} else {
  gMultiRoomsData[username] = {
    'status': data['room_status'];
  };
};
// this should be ok at 3182
gMultiRoomsData[username].status = data['room_status'];
// and 3464 can be left unchanged
improper.dev作者
§
發表於:2023-06-05

Fixed! Thank you.

§
發表於:2023-06-10

hey, 812. 881. lines, redundant addStyles(style);

improper.dev作者
§
發表於:2023-06-14

Fixed! Thank you.

發表回覆

登入以回復