您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Display changes for Cinematik
当前为
// ==UserScript== // @name Cinematik Enhancer // @namespace surrealmoviez.info // @description Display changes for Cinematik // @include https://cinematik.net/details.php?id=* // @include https://cinematik.net/upload.php // @include https://cinematik.net/upload2.php // @require https://code.jquery.com/jquery-1.11.1.min.js // @version 1.0.0 // @grant none // ==/UserScript== this.$ = this.jQuery = jQuery.noConflict(true); $(document).ready(function () { // Torrent details page if (document.documentURI.indexOf("details.php?id=") !== -1) { var imdbIDs = []; // Collect IMDb IDs $.each($('.gr_vsep3 .gr_hsep:contains(IMDB id:)') , function (i, el) { imdbIDs.push('tt' + $(this).children('.awom').text()); }); // Link and arrange IMDb IDs in a single row var imdbIDsLinks = ''; for (var i = 0; i < imdbIDs.length; i++) { imdbIDsLinks += '<a href="http://anonym.to/?http://www.imdb.com/title/' + imdbIDs[i] + '/" target="_blank">' + imdbIDs[i] + '</a> '; } // Put it above the "IMDB info" row var imdbIDsRow = '<tr><td valign="top" align="right" class="heading">IMDb ID</td><td valign="top" align="left">' + imdbIDsLinks + '</td></tr>'; $(imdbIDsRow).insertBefore($('.outer .rowhead:contains("IMDB info")').parent()); } // Pre-upload page if (document.documentURI.indexOf("cinematik.net/upload.php") !== -1) { var expressSubmit = '<center><input id="express-checkbox" type="checkbox" value="99" name=""><label style="font-size:1.1em" for="express-checkbox">I know the rules. The part about <b>me getting banned</b> if I don\'t, too.</label><br><input type="submit" value="I have read the rules"><center>'; $(expressSubmit).prependTo('td.outer > form'); $('#express-checkbox').click(function () { $('form > div > div > input').prop('checked', $(this).prop('checked')); }); } });