11/17/2019, 7:54:58 AM
< Σχολιασμός για τον κώδικα Larger Previews imagefap.com
Fixed it.// ==UserScript==// @name Larger Previews imagefap.com// @namespace Violentmonkey Scripts// @match https://www.imagefap.com/*// @grant none// @version 1.2// @author Karl Kemp// @homepage https://chilling.guru// @description 11/17/2019, 7:54:58 AM// @esversion// ==/UserScript==/* jshint esversion: 6 */Array.from(document.getElementsByClassName("gal_thumb")).forEach(im => { im.srcset = im.src.replace("gal", "thumb") + " 20w"; im.style = "width:144px; min-height:96px;"; im.className = "exmin";})
Συνδεθείτε για να δημοσιεύσετε μια απάντηση.
Fixed it.
// ==UserScript==
// @name Larger Previews imagefap.com
// @namespace Violentmonkey Scripts
// @match https://www.imagefap.com/*
// @grant none
// @version 1.2
// @author Karl Kemp
// @homepage https://chilling.guru
// @description 11/17/2019, 7:54:58 AM
// @esversion
// ==/UserScript==
/* jshint esversion: 6 */
Array.from(document.getElementsByClassName("gal_thumb")).forEach(im => {
im.srcset = im.src.replace("gal", "thumb") + " 20w";
im.style = "width:144px; min-height:96px;";
im.className = "exmin";
})