diff --git a/firefox/js/button.js b/firefox/js/button.js index faeec4a..e205577 100644 --- a/firefox/js/button.js +++ b/firefox/js/button.js @@ -5,7 +5,7 @@ const spanClass = "ltpMr Slqrh"; const articleClassLarge = "M9sTE L_LMM JyscU ePUX4"; const articleClassSmall = "M9sTE h0YNM SgTZ1 "; -const sliderContentClass = "_-1_m6"; +const sliderContentClass = "Ckrof"; const imageContentClass = "FFVAD"; const videoContentClass = "tWeCl"; @@ -105,7 +105,8 @@ class Button { "user": "HuiBuh", "type": "image", "accountName": accountName - }); } else if (typeof (sliderDownload) !== "undefined" && sliderDownload.length > 0) { + }); + } else if (typeof (sliderDownload) !== "undefined" && sliderDownload.length > 0) { var pictureSlider = []; let imageSlide = null; @@ -122,7 +123,7 @@ class Button { imageSlide = null; } else if (videoSlide.length > 0) { pictureSlider.push(videoSlide); - imageSlide = 0; + videoSlide = null; } } diff --git a/firefox/js/downloadHomePage.js b/firefox/js/downloadHomePage.js index 2f83aa6..f9e972f 100644 --- a/firefox/js/downloadHomePage.js +++ b/firefox/js/downloadHomePage.js @@ -6,7 +6,7 @@ const homepageButtonClass = "dCJp8 afkep _0mzm-"; const homepagePictureClass = "FFVAD"; const homepageVideoClass = "tWeCl"; -const homepageSliderClass = "_-1_m6"; +const homepageSliderClass = "Ckrof"; const accountNameClass = "sqdOP yWX7d _8A5w5 ZIAjV ";