NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Divar Images // @namespace http://pilevar.net/ // @version 0.1 // @description change divar images url // @author You // @match https://divar.ir/v/* // @grant none // @author omid.pixel // @license MIT // ==/UserScript== (function() { 'use strict'; document.querySelectorAll('img[src*=s101]').forEach(function(img) { img.setAttribute('src', img.getAttribute('src').replace('s101', 's100') ) }); // Your code here... })();