LetterBoxd AP Features

Search native text on Douban and opening full size cover

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         LetterBoxd AP Features
// @namespace    https://greasyfork.org/en/users/689482-quin15
// @version      2.0.0
// @description  Search native text on Douban and opening full size cover
// @author       Quin15
// @match        https://letterboxd.com/film/*
// @icon         https://www.google.com/s2/favicons?domain=letterboxd.com
// @grant        none
// ==/UserScript==

var copyText = document.createElement('div')
copyText.style = "height:50px;width:100px;border:1px solid;border-radius:8px;text-align:center;float:left;cursor:pointer"
copyText.innerText = "Search on Douban"
document.querySelector('div[class="review body-text -prose -hero prettify"] div').appendChild(copyText);
copyText.addEventListener("click", function() {open(encodeURI("https://search.douban.com/movie/subject_search?search_text=" + document.querySelector('#featured-film-header p em').innerText.substr(1).slice(0, -1)), "")});

var coverImage = document.createElement('div')
coverImage.style = "height:50px;width:100px;border:1px solid;border-radius:8px;text-align:center;float:left;cursor:pointer;margin-left:10px;"
coverImage.innerText = "Open Cover Image"
document.querySelector('div[class="review body-text -prose -hero prettify"] div').appendChild(coverImage);
coverImage.addEventListener("click", function() {open(document.querySelector('section[class^="poster-list"] div div img').srcset.replace(" 2x", ''), "")});