// ==UserScript== // @name subtitleLinks // @version 1.0 // @namespace akursat.com/script // @author akursat // @description Basic script for imdb.com.This script is provide to subtitle link of movie. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js // @include http://www.imdb.com/title/* // @run-at document-end // @downloadURL none // ==/UserScript== /* @require annotation need version 0.8. You must sure running with Greasemonkey version 0.8. */ //Avoiding some conflit. this.$ = this.jQuery = jQuery.noConflict(true); $(document).ready(function() { //Get title of Movie function getTitle() { var title = $('h1.header').children('.itemprop').text(); return title; } //Create container. function createDiv() { $('#img_primary').append( $('
') .attr("id", "container") .addClass("container") .css("border", "none") .css("width", "190px") .css("margin-left", "10px") .css("margin-top", "10px") ); } //Create fav icons. function createFavIcon(id, src, href) { $('#container').append( $('') .attr("id", id) .attr("href", href) .attr("target", "_blank") .html( $('