mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-07 12:07:11 +03:00
@@ -633,8 +633,6 @@ function sponsorsLookup(id: string) {
|
|||||||
getRequest.then(async (response: FetchResponse) => {
|
getRequest.then(async (response: FetchResponse) => {
|
||||||
if (response?.ok) {
|
if (response?.ok) {
|
||||||
let getResult = JSON.parse(response.responseText);
|
let getResult = JSON.parse(response.responseText);
|
||||||
console.log(getResult);
|
|
||||||
alert(getResult.length);
|
|
||||||
if (Config.config.hashPrefix) {
|
if (Config.config.hashPrefix) {
|
||||||
getResult = getResult.filter((video) => video.videoID === id);
|
getResult = getResult.filter((video) => video.videoID === id);
|
||||||
if (getResult.length > 0) {
|
if (getResult.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user