Robux Converter
About
Simple extension for chrome to convert RobuxSupport My Work
If you liked my work and want to donate to me you can do so here
Source Code
manifest.json
{
"name": "Robux Converter",
"description": "Converter robux to another value",
"version": "1.0",
"manifest_version": 3,
"content_scripts": [{
"matches": ["https://www.roblox.com/*"],
"js": ["script.js"]
}]
}
script.js
function GetElement(callback) {
const robuxElement = document.getElementById("nav-robux-amount");
if (robuxElement) { setTimeout(callback, 0, robuxElement); return; }
const navbarElement = document.getElementById("navbar-robux");
if (navbarElement == null) { return; }
const observer = new MutationObserver((mutations, observer) => {
const robuxElement = document.getElementById("nav-robux-amount");
if (robuxElement) { observer.disconnect(); setTimeout(callback, 0, robuxElement); }
});
observer.observe(navbarElement, {childList: true});
}
GetElement((element) => {
let value = parseInt(element.textContent);
switch (element.textContent.substring(element.textContent.length - 2)) {
case "K+": value *= 1000; break;
case "M+": value *= 1000000; break;
}
value *= 0.0035;
element.textContent += " ($" + value.toFixed(2) + ")";
});
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
How to Install
Place the manifest.json
and script.js
into a folder then enable developer mode in chrome://extensions/
press Load unpacked
and select the folder
Other Projects
Infinite Terrain
Suphi’s DataStore Module
Global Framework
Infinite Scripter
Mesh Editor
Toggle Block Comment
Toggle Decomposition Geometry
Tag Explorer
Suphi’s Linked List Module
Suphi’s Hybrid Linked List Module
Suphi’s RemoteFunction Module
Robux Converter