您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Chercher la fiche CL d'une fiche IMDb
当前为
// ==UserScript== // @name IMDb2CL // @namespace https://www.cinelounge.org/ // @description Chercher la fiche CL d'une fiche IMDb // @author tadanobu // @version 1.7 // @grant none // @icon https://www.cinelounge.org/images/logot.png // @require https://code.jquery.com/jquery-3.5.1.min.js // @include http*://*.imdb.tld/title/tt*/ // @include http*://*.imdb.tld/title/tt*/?ref* // @include http*://*.imdb.tld/title/tt*/reference* // @license MIT // ==/UserScript== window.addEventListener('load', showCL); function showCL() { var movie_id = document.URL.match(/\/tt([0-9]+)\//)[1].trim('tt'); var h1s = document.getElementsByTagName("h1"); var title = document.title.split('(')[0]; for (var i = 0; i < h1s.length; i++) { var h1 = h1s[i]; h1.innerHTML += ' <a href=\'https://www.cinelounge.org/imdb2cl/' + movie_id + '-' + title + '\' target="_blank"><img src=\'https://www.cinelounge.org/images/logo.png\' style=\'vertical-align: middle; width: 20px;\' title=\'Fiche CinéLounge\' /></a>'; } }