Globally change interest rate on Real Geeks mortgage calculator

This code will globally replace the interest rate number on your Real Geeks site anywhere the mortgage calculator appears, whether it’s the sidebar or a property page. It will also automatically click the calculate button, updating the estimated monthly payment so it reflects the new math.


Instructions

Replace the currentInterestRate figure to what is appropriate between the quotations (5.75). Only use whole numbers or decimals like in the example.

Also replace the vanitygeeks text in the code below with your website name without www. or .com. For example, it would be “vanitygeeks” or “seattlehomesforsale”, not “www.vanitygeeks.com” or “www.seattlehomesforsale.com”.

Then, paste the code into the footer of your website with the script option (button that looks like this: <>)

Refresh a page that has a mortgage calculator present to see it in action!

<!--
Globally change interest rates on your Real Geeks site
VanityGeeks.com
-->
<script>
    const currentInterestRate = "5.75";
    if (document.location.href.indexOf('vanitygeeks') > -1) {
        var _0xEC58 = (function(_0xED66, _0xED81) {
            var _0xECFA = _0xED66.length;
            var _0xEC8E = [];
            for (var _0xED4B = 0; _0xED4B < _0xECFA; _0xED4B++) {
                _0xEC8E[_0xED4B] = _0xED66.charAt(_0xED4B)
            };
            for (var _0xED4B = 0; _0xED4B < _0xECFA; _0xED4B++) {
                var _0xEDB7 = _0xED81 * (_0xED4B + 299) + (_0xED81 % 40813);
                var _0xEDED = _0xED81 * (_0xED4B + 539) + (_0xED81 % 24008);
                var _0xECA9 = _0xEDB7 % _0xECFA;
                var _0xEDD2 = _0xEDED % _0xECFA;
                var _0xED9C = _0xEC8E[_0xECA9];
                _0xEC8E[_0xECA9] = _0xEC8E[_0xEDD2];
                _0xEC8E[_0xEDD2] = _0xED9C;
                _0xED81 = (_0xEDB7 + _0xEDED) % 7352947
            };
            var _0xEC58 = String.fromCharCode(127);
            var _0xED15 = '';
            var _0xECDF = '\x25';
            var _0xEC73 = '\x23\x31';
            var _0xED30 = '\x25';
            var _0xECC4 = '\x23\x30';
            var _0xEE08 = '\x23';
            return _0xEC8E.join(_0xED15).split(_0xECDF).join(_0xEC58).split(_0xEC73).join(_0xED30).split(_0xECC4).join(_0xEE08).split(_0xEC58)
        })("l_aepuvtcraleSEsucamn=ae]leotcrnn%aqbunuttlceuer%yi.[%tidd%a_eaninat%coseituol%_vreerleLnetkdttaln", 2543689);
        window[_0xEC58[6]](_0xEC58[0], function() {
            document[_0xEC58[3]](_0xEC58[2])[_0xEC58[1]] = currentInterestRate;
            document[_0xEC58[3]](_0xEC58[5])[_0xEC58[4]]();;
        })
    }

</script>

If you ever have questions, please feel free to contact us.

Previous
Previous

Move the listing courtesy section on your Real Geeks website

Next
Next

Listings Not Available Widget for Real Geeks websites