v1.6.0/crunchyroll fixes

This commit is contained in:
2020-08-03 20:52:47 -04:00
parent f2617b74f2
commit 6f21cff7ae
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ export default class VideoListener {
}
return googleplayshow === '' ? null : googleplayshow;
case PLAYER_SOURCE.CRUNCHYROLL:
const crunchyrollTitle = document.querySelector('#template_body > div:nth-child(4) > div.showmedia-trail.cf > div > h1');
const crunchyrollTitle = document.querySelector('#showmedia_about_media');
const crunchyrollshow = crunchyrollTitle ? crunchyrollTitle.innerText : '';
return crunchyrollshow === '' ? null : crunchyrollshow;
default:
+11
View File
@@ -191,6 +191,12 @@ body.googleplay.visible
height: 100%;
}
/* CRUNCHYROLL STYLING */
body.crunchyroll.visible {
overflow: hidden !important;
}
body.crunchyroll.visible header {
z-index: 0 !important;
}
body.crunchyroll.visible #showmedia_video {
position: fixed;
z-index: 99999;
@@ -608,6 +614,11 @@ body.amazon-prime .notification-switch .MuiSwitch-thumb {
.alerts-container {
margin: 5px 0;
position: sticky;
top: 0;
padding: 5px 0;
z-index: 99999 !important;
background: #1b1b1b;
}
.alert-card {