您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
full view gallery preview and nothing else
// ==UserScript== // @name Olx full view gallery // @namespace http://tampermonkey.net/ // @version 0.1 // @description full view gallery preview and nothing else // @author You // @match https://www.olx.ua/* // @icon https://www.google.com/s2/favicons?sz=64&domain=olx.ua // @grant GM_addStyle // ==/UserScript== (function() { 'use strict'; //ad-gallery-view function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } setTimeout(()=>{ console.log('done'); addGlobalStyle(` .css-1bmvjcs{ height: calc(100vh - 150px); } .css-18f2q5x{ padding:0; } .css-atnlfi{ position: absolute; top: 50px; right: 50px; } .css-15d33fd{ display: none; } .css-xg7zwc { display:none; } .css-tma80q{ grid-column: 1/-1; } `); },1000); // Your code here... })();