Skip to content

Commit

Permalink
fixed not already free
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamlinerm committed Sep 18, 2023
1 parent 0d1a3c6 commit f147069
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chrome/skipper.js
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ if (isPrimeVideo || isNetflix || isDisney || isHotstar) {
let title = document.querySelector("h1[data-automation-id='title']")?.textContent?.split(" [")[0];
if (title) {
// if not already free blue in prime icon
if (document.querySelector("._1sIAAm")) {
if (!document.querySelector(".fbl-icon._3UMk3x._1a_Ljt._3H1cN4")) {
let card = document.querySelector("div#dv-action-box");
if (!DBCache[title]) {
getMovieInfo(title, card, false);
Expand Down
2 changes: 1 addition & 1 deletion firefox/skipper.js
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ if (isPrimeVideo || isNetflix || isDisney || isHotstar) {
let title = document.querySelector("h1[data-automation-id='title']")?.textContent?.split(" [")[0];
if (title) {
// if not already free blue in prime icon
if (document.querySelector("._1sIAAm")) {
if (!document.querySelector(".fbl-icon._3UMk3x._1a_Ljt._3H1cN4")) {
let card = document.querySelector("div#dv-action-box");
if (!DBCache[title]) {
getMovieInfo(title, card, false);
Expand Down

0 comments on commit f147069

Please sign in to comment.