您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
27.04.2023, 23:16:36
// ==UserScript== // @name Chujowa strona bypass - shinden.pl // @namespace Violentmonkey Scripts // @match https://shinden.pl/episode/*/view/* // @grant none // @license MIT // @require https://code.jquery.com/jquery-3.6.4.min.js // @version 1.0 // @author Analyze & nx2 // @description 27.04.2023, 23:16:36 // ==/UserScript== const apiUrl = "https://api4.shinden.pl" function loadPlayer(playerId) { $.ajax({ url: `${apiUrl}/xhr/${playerId}/player_load`, xhrFields: { withCredentials: true } }) setTimeout(() => { $.ajax({ url: `${apiUrl}/xhr/${playerId}/player_show?width=768&height=-1`, xhrFields: { withCredentials: true }, success: (data) => { $('#player-block').html(data); } }) }, 6000) } $(".change-video-player").on("click", event => { $('#player-block').html("<label>Proszę poczekać 6 sekund....</label>"); dataEpisode = JSON.parse($(event.target).attr("data-episode")) loadPlayer(dataEpisode["online_id"]) })