Skip to content

Instantly share code, notes, and snippets.

View circuitfive's full-sized avatar

Jay Gibb circuitfive

View GitHub Profile
@dangerouse
dangerouse / picker-inject.js
Created April 16, 2022 17:01
Inject the Contact Picker via console
(function(key, opts, s) {
s = document.createElement('script');
s.type = 'text/javascript';
s.async = 1;
// assign the src attribute
s.src = "https://api.cloudsponge.com/widget/"+key+".js";
// set the script to invoke a callback after it loads
s.onload = function() {
window.cloudsponge && cloudsponge.init(opts);
}