Chaturbate Enhancer

Улучшает 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);

Fixed! Thank you.

Ответить

Войдите, чтобы ответить.