NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name gaia comma separator on my gaia // @namespace kittyfluff // @version 0.1 // @match *.gaiaonline.com/mygaia/* // ==/UserScript== // comma separators on wishlist listings var myWishList = document.evaluate("//div[contains(text(), 'Your wishlist item')]", document.documentElement, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); for (var item = 0; item < myWishList.snapshotLength; item++) { myWishList.snapshotItem(item).innerHTML = myWishList.snapshotItem(item).innerHTML.replace(/\B(?=(\d{3})+(?!\d))/g, ",") }