Whitelist All IPs for Salesforce Chrome Extension

So it’s been awhile since Enable All Trusted IP Ranges for a Salesforce Org actually worked, because Salesforce disabled the ability for homepage components to run javascript around Summer, 2015.

There was a workaround logged as a Github issue which simply ran the javascript from the homepage component in the developer console, and that seemed to work, I referred people there. It wasn’t really elegant, but it worked.

I’ve had it on my plate to create a browser extension to perform this capability ever since. A few days ago, I was going to manually add an IP to Setup => Security Controls => Network Access, and I saw a button called “Allow All Ranges (!)”. I clicked it, and sure enough, it actually added all IP ranges! I looked through all of my installed Chrome extensions, and didn’t see any of them that advertised this feature. I disabled them one-by-one until I found the culprit: Apex Debugger by motiko. Browsing the source, motiko attributed my original post for that piece. I asked motiko about it in email, asked for permission to publish this feature standalone, and he agreed.

So I spent a couple hours, stripped out everything but this feature, packaged it up, paid the $5 registration fee, and put it on the Chrome Web store: https://chrome.google.com/webstore/detail/whitelist-all-ips-for-sal/nnlnikmkkbpgioojghgojoejgcheilic.

Here’s a quick video on how it works:

Please let me know if you have any questions via twitter. Cheers!

Oh, and the source is on github.

Bookmark the permalink.