This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name New script divar.ir | |
| // @namespace Violentmonkey Scripts | |
| // @match https://divar.ir/* | |
| // @match https://digikala.com/product/* | |
| // @match https://*.digikala.com/product/* | |
| // @match https://torob.com/p/* | |
| // @version 1.1.0 | |
| // @author - | |
| // @description 10/11/2025, 9:40:40 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Algoritm from : https://gist.github.com/reza-farhadian/9807316 | |
| * Georgian To Jalali Programming Algorithm | |
| * By Reza Farhadian <irezafarhadian@gmail.com> | |
| */ | |
| function g2j(timestamp){ | |
| // G = ~~(Georgian) | |
| // J = ~~(Jalali) | |
| var G_Y = ~~(new Date(timestamp*1000).getFullYear()) |