Created
December 20, 2024 11:36
-
-
Save JustLinuxUser/06350c0d584dc1c3037800692f51346e to your computer and use it in GitHub Desktop.
This file contains 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 Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-12-20 | |
// @description try to take over the world! | |
// @author You | |
// @match *://www.preciosadictos.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=preciosadictos.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
for (const e of document.getElementsByClassName('prco')) { | |
let n = parseFloat(e.getHTML().replace(",", ".")); | |
e.parentElement.append("Cliente: " +(n * 1.21 + 50)) | |
} | |
// Your code here... | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment