通过添加多个新功能来增强 Chaturbate。
< 腳本Chaturbate Enhancer的回應
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
Fixed! Thank you.
hey, 812. 881. lines, redundant addStyles(style);
登入以回復
hey, great script!
Found a bug though:
hls will be undefined after a while (when the statuses get checked), because in the following line you're bombing it
didn't look through thoroughly, so I placed this at both places to not risk it