Last active
November 2, 2017 15:03
-
-
Save TylerMills/ba1fce9ac4a00ee6d1d2610df429a900 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void function()%7Bvar i,t,e%3D%24(".customer-name"),n%3D%24("div.pii a%5Bhref*%3D%27mailto%27%5D").first()%3Bi%3Dwindow.prism.context.trackerId,i%26%26(t%3Dn.text(),t%3Dt.indexOf("%40")<%3D0%3F!1:encodeURIComponent(t))%3Bvar o%3Dfunction(i,t)%7BimgSrc%3D"https://jumbe.zaius.com/v2/zaius.gif%3Ftracker_id%3D"%2Bi%2B"%26event_type%3Demail%26action%3Dunsubscribe%26email%3D"%2Bt%2B"%26vuid%3D"%2BDate.now()%2BMath.random()%2B"%26campaign%3DZaius Utility%26content%3DProfile View Unsub Button",imgId%3D"unsub"%2Bt,imgId%3DimgId.replace(/%5B%5E%5Cw%5D/g,""),0%3D%3D%24("%23"%2BimgId).length%3F(%24("body").first().append("<img id%3D%27"%2BimgId%2B"%27 src%3D%27"%2BimgSrc%2B"%27/>"),console.log("User unsubscribed.")):console.log("This email address has been recently unsubscribed. Please wait."),%24("%23z-unsub-bookmarklet-button").hide()%7D%3Bi%26%26t%26%260%3D%3D%24("%23z-unsub-bookmarklet-button").length%26%26(window.z_bkmlt_postUnsub%3Dfunction()%7Bo(i,t)%7D,e.after("<div id%3D%27z-unsub-bookmarklet-div%27 style%3D%27margin-top:-10px%3Bmargin-bottom:10px%27><a class%3D%27button%27 id%3D%27z-unsub-bookmarklet-button%27 onclick%3D%27z_bkmlt_postUnsub()%27 style%3D%27padding: .2em .2em%3Bborder-radius:5px%27>Unsubscribe</a></div>"))%7D()%3B |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment