您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Enhance ProjectFreeTV links with episode information.
当前为
// ==UserScript== // @name ProjectFreeTv Episode Guide // @namespace pftepisodeguide // @version 0.1 // @description Enhance ProjectFreeTV links with episode information. // @author splttingatms // @include http://projectfreetv.im/free/* // @include https://projectfreetv.im/free/* // @include http://*.projectfreetv.im/free/* // @include https://*.projectfreetv.im/free/* // @grant none // @require http://code.jquery.com/jquery-3.0.0.min.js // ==/UserScript== (function() { 'use strict'; // Your code here... $("table tr").each(function () { var episodeTableRow = $(this); var episodeLink = $("a:first-child", episodeTableRow); var parsedEpisode = episodeLink.text().match(/(.+) Season (\d+) Episode (\d+)/); var series = parsedEpisode[1] var season = parsedEpisode[2]; var episode = parsedEpisode[3]; $.getJSON(`https://www.omdbapi.com/?t=${encodeURIComponent(series)}&Season=${season}&Episode=${episode}&callback=?`, function(result){ episodeLink.text(`S${season}E${episode} ${result.Title}`); var plot = $("</p>") .text(result.Plot) .css({margin: 0, textAlign: 'left'}); $("th", episodeTableRow).append(plot); }); }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址