// ==UserScript== // @name IMDb Enhancer // @namespace surrealmoviez.info // @description Better display for IMDb // @include http://www.imdb.com/find?* // @grant none // @version 0.0.2 // @downloadURL https://update.greasyfork.icu/scripts/6735/IMDb%20Enhancer.user.js // @updateURL https://update.greasyfork.icu/scripts/6735/IMDb%20Enhancer.meta.js // ==/UserScript== // Insert the IMDb ID as plain text at the right side of the titles matches var titlesBlock = $('.findSectionHeader:contains("Titles")').parent(); $('.result_text', titlesBlock).each(function() { var href = $('a', this).attr('href'); var id = href.substring(href.indexOf('/tt') + 1, href.lastIndexOf('/')); $(this).append('' + id + ''); });