您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Behuzza az Open Graphos kepet a cikk tetejere
// ==UserScript== // @name 444 kepbeilleszto csoda // @namespace http://ebertek.com // @description Behuzza az Open Graphos kepet a cikk tetejere // @include http://*.444.hu/* // @include https://*.444.hu/* // @include http://444.hu/* // @include https://444.hu/* // @version 1.0.3 // @license CC-BY-SA // @grant none // ==/UserScript== /* The following function is CC-BY-SA Stephan Schmitz eyecatchUp @ Stack Overflow @bext0n http://stackoverflow.com/a/19418170/1868533 */ function getContentByMetaTagName(c) { for (var b = document.getElementsByTagName("meta"), a = 0; a < b.length; a++) { if (c == b[a].name || c == b[a].getAttribute("property")) { return b[a].content; } } return false; } var div = document.getElementById("content-main"); var cikk = div.firstChild; var img = document.createElement("img"); img.src = getContentByMetaTagName("og:image"); div.insertBefore(img, cikk);