Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
52 kB
4
Indexable
Never
!function(n){var e={};function t(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=n,t.c=e,t.d=function(n,e,r){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:r})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)t.d(r,o,function(e){return n[e]}.bind(null,o));return r},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=1)}([function(n,e,t){"use strict";n.exports=function(n){var e=[];return e.toString=function(){return this.map((function(e){var t=function(n,e){var t=n[1]||"",r=n[3];if(!r)return t;if(e&&"function"==typeof btoa){var o=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(c," */")),i=r.sources.map((function(n){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(n," */")}));return[t].concat(i).concat([o]).join("\n")}var a,s,c;return[t].join("\n")}(e,n);return e[2]?"@media ".concat(e[2]," {").concat(t,"}"):t})).join("")},e.i=function(n,t,r){"string"==typeof n&&(n=[[null,n,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<n.length;s++){var c=[].concat(n[s]);r&&o[c[0]]||(t&&(c[2]?c[2]="".concat(t," and ").concat(c[2]):c[2]=t),e.push(c))}},e}},function(n,e,t){"use strict";t.r(e);t(2);const r=chrome.runtime.getURL("icons/devil.svg");function o(n){const e=document.querySelectorAll("[role='main'] table"),t=e[e.length-1].querySelectorAll("span");t[t.length-1].insertAdjacentHTML("afterend",'<span id="spam-them-button">SPAM THEM BACK</span>'),document.getElementById("spam-them-button").addEventListener("click",n)}document.documentElement.style.setProperty("--devil-url",`url('${r}')`),async function(){InboxSDK.load(2,"sdk_gmail-sub-ext_9810d9ce43").then((function(n){let e="";function t(){const t=e,r=setTimeout(async()=>{fetch("https://audience.cnn.com/newsletters/api/1/subscriptions/add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t,emailAddress:t,newsletters:["breaking_news","five_things","five_things_sunday","coronavirus","health","good_stuff","reliable_sources","what_matters","point","provoke_persuade","global_briefing","meanwhile","nightcap","work_transformed","btb","ten","pop_life","markets_now","underscored","esp_breaking_news","esp_five_things","sleep","wisdom_project"]})})},1e4);n.ButterBar.showMessage({text:"They've been spammed back.",className:"spam-notification",messageKey:"spam",time:1e4,buttons:[{title:"Undo",onClick:()=>{n.ButterBar.hideMessage("spam"),clearTimeout(r)}}]})}n.Conversations.registerThreadViewHandler(n=>{o(t),e=n.getMessageViews()[0].getSender().emailAddress}),n.Compose.registerComposeViewHandler(n=>{n.on("destroy",e=>{n.isInlineReplyForm()&&o(t)})}),n.Toolbars.registerThreadButton({positions:["THREAD"],title:"SPAM THEM BACK",threadSection:"INBOX_STATE",iconClass:"spam-them-icon",iconUrl:r,onClick:t})}))}()},function(n,e,t){var r=t(3),o=t(4);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[n.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);n.exports=o.locals||{}},function(n,e,t){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var n={};return function(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(n){t=null}n[e]=t}return n[e]}}(),a=[];function s(n){for(var e=-1,t=0;t<a.length;t++)if(a[t].identifier===n){e=t;break}return e}function c(n,e){for(var t={},r=[],o=0;o<n.length;o++){var i=n[o],c=e.base?i[0]+e.base:i[0],u=t[c]||0,l="".concat(c," ").concat(u);t[c]=u+1;var d=s(l),A={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(a[d].references++,a[d].updater(A)):a.push({identifier:l,updater:m(A,e),references:1}),r.push(l)}return r}function u(n){var e=document.createElement("style"),r=n.attributes||{};if(void 0===r.nonce){var o=t.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(n){e.setAttribute(n,r[n])})),"function"==typeof n.insert)n.insert(e);else{var a=i(n.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var l,d=(l=[],function(n,e){return l[n]=e,l.filter(Boolean).join("\n")});function A(n,e,t,r){var o=t?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(n.styleSheet)n.styleSheet.cssText=d(e,o);else{var i=document.createTextNode(o),a=n.childNodes;a[e]&&n.removeChild(a[e]),a.length?n.insertBefore(i,a[e]):n.appendChild(i)}}function p(n,e,t){var r=t.css,o=t.media,i=t.sourceMap;if(o?n.setAttribute("media",o):n.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),n.styleSheet)n.styleSheet.cssText=r;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(r))}}var f=null,b=0;function m(n,e){var t,r,o;if(e.singleton){var i=b++;t=f||(f=u(e)),r=A.bind(null,t,i,!1),o=A.bind(null,t,i,!0)}else t=u(e),r=p.bind(null,t,e),o=function(){!function(n){if(null===n.parentNode)return!1;n.parentNode.removeChild(n)}(t)};return r(n),function(e){if(e){if(e.css===n.css&&e.media===n.media&&e.sourceMap===n.sourceMap)return;r(n=e)}else o()}}n.exports=function(n,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var t=c(n=n||[],e);return function(n){if(n=n||[],"[object Array]"===Object.prototype.toString.call(n)){for(var r=0;r<t.length;r++){var o=s(t[r]);a[o].references--}for(var i=c(n,e),u=0;u<t.length;u++){var l=s(t[u]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}t=i}}}},function(n,e,t){"use strict";t.r(e);var r=t(0),o=t.n(r)()(!0);o.push([n.i,'.spam-notification {\r\n  background: #641cc5 !important;\r\n}\r\n\r\n.inboxsdk__butterbar-buttons span {\r\n  color: #bca6e3 !important;\r\n}\r\n\r\n.spam-notification span {\r\n  display: flex;\r\n  align-items: center;\r\n}\r\n\r\n.spam-them-icon img {\r\n  width: 18px;\r\n  height: 18px;\r\n}\r\n\r\n.inboxsdk__button_hover div::before {\r\n  background: #e8dbf6 !important;\r\n}\r\n\r\n.inboxsdk__button_iconImg {\r\n  position: relative;\r\n  top: 2px;\r\n}\r\n\r\n#spam-them-button {\r\n  font-family: Roboto, Helvetica, Arial, sans-serif;\r\n  background: #641cc5;\r\n  border-radius: 4px;\r\n  box-sizing: border-box;\r\n  color: white;\r\n  cursor: pointer;\r\n  height: 36px;\r\n  outline: none;\r\n  padding: 0px 14px;\r\n  display: flex;\r\n  align-items: center;\r\n  line-height: 5px;\r\n  font-size: 14px;\r\n}\r\n\r\n#spam-them-button::before,\r\n.inboxsdk__butterbar-text::before {\r\n  content: "";\r\n  display: block;\r\n  background: var(--devil-url) no-repeat;\r\n  width: 18px;\r\n  height: 18px;\r\n  float: left;\r\n  margin-right: 14px;\r\n  filter: invert(65%) sepia(11%) saturate(3853%) hue-rotate(215deg)\r\n    brightness(95%) contrast(86%);\r\n}\r\n\r\n/*Trick to get the correct icon colors on hover */\r\n.inboxsdk__button .inboxsdk__button_iconImg {\r\n  filter: invert(50%) sepia(0%) saturate(4550%) hue-rotate(296deg)\r\n    brightness(92%) contrast(80%);\r\n}\r\n\r\n.inboxsdk__button_hover .inboxsdk__button_iconImg {\r\n  filter: invert(11%) sepia(82%) saturate(7479%) hue-rotate(269deg)\r\n    brightness(80%) contrast(92%);\r\n}\r\n',"",{version:3,sources:["webpack://src/content.css"],names:[],mappings:"AAAA;EACE,8BAA8B;AAChC;;AAEA;EACE,yBAAyB;AAC3B;;AAEA;EACE,aAAa;EACb,mBAAmB;AACrB;;AAEA;EACE,WAAW;EACX,YAAY;AACd;;AAEA;EACE,8BAA8B;AAChC;;AAEA;EACE,kBAAkB;EAClB,QAAQ;AACV;;AAEA;EACE,iDAAiD;EACjD,mBAAmB;EACnB,kBAAkB;EAClB,sBAAsB;EACtB,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,aAAa;EACb,iBAAiB;EACjB,aAAa;EACb,mBAAmB;EACnB,gBAAgB;EAChB,eAAe;AACjB;;AAEA;;EAEE,WAAW;EACX,cAAc;EACd,sCAAsC;EACtC,WAAW;EACX,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB;iCAC+B;AACjC;;AAEA,iDAAiD;AACjD;EACE;iCAC+B;AACjC;;AAEA;EACE;iCAC+B;AACjC",sourcesContent:['.spam-notification {\r\n  background: #641cc5 !important;\r\n}\r\n\r\n.inboxsdk__butterbar-buttons span {\r\n  color: #bca6e3 !important;\r\n}\r\n\r\n.spam-notification span {\r\n  display: flex;\r\n  align-items: center;\r\n}\r\n\r\n.spam-them-icon img {\r\n  width: 18px;\r\n  height: 18px;\r\n}\r\n\r\n.inboxsdk__button_hover div::before {\r\n  background: #e8dbf6 !important;\r\n}\r\n\r\n.inboxsdk__button_iconImg {\r\n  position: relative;\r\n  top: 2px;\r\n}\r\n\r\n#spam-them-button {\r\n  font-family: Roboto, Helvetica, Arial, sans-serif;\r\n  background: #641cc5;\r\n  border-radius: 4px;\r\n  box-sizing: border-box;\r\n  color: white;\r\n  cursor: pointer;\r\n  height: 36px;\r\n  outline: none;\r\n  padding: 0px 14px;\r\n  display: flex;\r\n  align-items: center;\r\n  line-height: 5px;\r\n  font-size: 14px;\r\n}\r\n\r\n#spam-them-button::before,\r\n.inboxsdk__butterbar-text::before {\r\n  content: "";\r\n  display: block;\r\n  background: var(--devil-url) no-repeat;\r\n  width: 18px;\r\n  height: 18px;\r\n  float: left;\r\n  margin-right: 14px;\r\n  filter: invert(65%) sepia(11%) saturate(3853%) hue-rotate(215deg)\r\n    brightness(95%) contrast(86%);\r\n}\r\n\r\n/*Trick to get the correct icon colors on hover */\r\n.inboxsdk__button .inboxsdk__button_iconImg {\r\n  filter: invert(50%) sepia(0%) saturate(4550%) hue-rotate(296deg)\r\n    brightness(92%) contrast(80%);\r\n}\r\n\r\n.inboxsdk__button_hover .inboxsdk__button_iconImg {\r\n  filter: invert(11%) sepia(82%) saturate(7479%) hue-rotate(269deg)\r\n    brightness(80%) contrast(92%);\r\n}\r\n'],sourceRoot:""}]),e.default=o}]);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vLy4vbm9kZV9tb2R1bGVzL2Nzcy1sb2FkZXIvZGlzdC9ydW50aW1lL2FwaS5qcyIsIndlYnBhY2s6Ly8vLi9zcmMvY29udGVudC5qcyIsIndlYnBhY2s6Ly8vLi9zcmMvY29udGVudC5jc3M/YzM0NyIsIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvc3R5bGUtbG9hZGVyL2Rpc3QvcnVudGltZS9pbmplY3RTdHlsZXNJbnRvU3R5bGVUYWcuanMiLCJ3ZWJwYWNrOi8vLy4vc3JjL2NvbnRlbnQuY3NzIl0sIm5hbWVzIjpbImluc3RhbGxlZE1vZHVsZXMiLCJfX3dlYnBhY2tfcmVxdWlyZV9fIiwibW9kdWxlSWQiLCJleHBvcnRzIiwibW9kdWxlIiwiaSIsImwiLCJtb2R1bGVzIiwiY2FsbCIsIm0iLCJjIiwiZ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M6IHtcclxuICAgICAgICAgICAgXCJDb250ZW50LVR5cGVcIjogXCJhcHBsaWNhdGlvbi9qc29uXCIsXHJcbiAgICAgICAgICB9LFxyXG4gICAgICAgICAgYm9keTogSlNPTi5zdHJpbmdpZnkoe1xyXG4gICAgICAgICAgICBlbWFpbDogZW1haWxUb1NwYW0sXHJcbiAgICAgICAgICAgIGVtYWlsQWRkcmVzczogZW1haWxUb1NwYW0sXHJcbiAgICAgICAgICAgIG5ld3NsZXR0ZXJzOiBbXHJcbiAgICAgICAgICAgICAgXCJicmVha2luZ19uZXdzXCIsXHJcbiAgICAgICAgICAgICAgXCJmaXZlX3RoaW5nc1wiLFxyXG4gICAgICAgICAgICAgIFwiZml2ZV90aGluZ3Nfc3VuZGF5XCIsXHJcbiAgICAgICAgICAgICAgXCJjb3JvbmF2aXJ1c1wiLFxyXG4gICAgICAgICAgICAgIFwiaGVhbHRoXCIsXHJcbiAgICAgICAgICAgICAgXCJnb29kX3N0dWZmXCIsXHJcbiAgICAgICAgICAgICAgXCJyZWxpYWJsZV9zb3VyY2VzXCIsXHJcbiAgICAgICAgICAgICAgXCJ3aGF0X21hdHRlcnNcIixcclxuICAgICAgICAgICAgICBcInBvaW50XCIsXHJcbiAgICAgICAgICAgICAgXCJwcm92b2tlX3BlcnN1YWRlXCIsXHJcbiAgICAgICAgICAgICAgXCJnbG9iYWxfYnJpZWZpbmdcIixcclxuICAgICAgICAgICAgICBcIm1lYW53aGlsZVwiLFxyXG4gICAgICAgICAgICAgIFwibmlnaHRjYXBcIixcclxuICAgICAgICAgICAgICBcIndvcmtfdHJhbnNmb3JtZWRcIixcclxuICAgICAgICAgICAgICBcImJ0YlwiLFxyXG4gICAgICAgICAgICAgIFwidGVuXCIsXHJcbiAgICAgICAgICAgICAgXCJwb3BfbGlmZVwiLFxyXG4gICAgICAgICAgICAgIFwibWFya2V0c19ub3dcIixcclxuICAgICAgICAgICAgICBcInVuZGVyc2NvcmVkXCIsXHJcbiAgICAgICAgICAgICAgXCJlc3BfYnJlYWtpbmdfbmV3c1wiLFxyXG4gICAgICAgICAgICAgIFwiZXNwX2ZpdmVfdGhpbmdzXCIsXHJcbiAgICAgICAgICAgICAgXCJzbGVlcFwiLFxyXG4gICAgICAgICAgICAgIFwid2lzZG9tX3Byb2plY3RcIixcclxuICAgICAgICAgICAgXSxcclxuICAgICAgICAgIH0pLFxyXG4gICAgICAgIH0pO1xyXG4gICAgICB9LCAxMDAwMCk7XHJcblxyXG4gICAgICBzZGsuQnV0dGVyQmFyLnNob3dNZXNzYWdlKHtcclxuICAgICAgICB0ZXh0OiBcIlRoZXkndmUgYmVlbiBzcGFtbWVkIGJhY2suXCIsXHJcbiAgICAgICAgY2xhc3NOYW1lOiBcInNwYW0tbm90aWZpY2F0aW9uXCIsXHJcbiAgICAgICAgbWVzc2FnZUtleTogXCJzcGFtXCIsXHJcbiAgICAgICAgdGltZTogMTAwMDAsXHJcbiAgICAgICAgYnV0dG9uczogW1xyXG4gICAgICAgICAge1xyXG4gICAgICAgICAgICB0aXRsZTogXCJVbmRvXCIsXHJcbiAgICAgICAgICAgIG9uQ2xpY2s6ICgpID0+IHtcclxuICAgICAgICAgICAgICBzZGsuQnV0dGVyQmFyLmhpZGVNZXNzYWdlKFwic3BhbVwiKTtcclxuICAgICAgICAgICAgICBjbGVhclRpbWVvdXQoc3BhbVRpbWVvdXQpO1xyXG4gICAgICAgICAgICB9LFxyXG4gICAgICAgICAgfSxcclxuICAgICAgICBdLFxyXG4gICAgICB9KTtcclxuICAgIH1cclxuICB9KTtcclxufVxyXG5cclxubWFpbigpO1xyXG4iLCJ2YXIgYXBpID0gcmVxdWlyZShcIiEuLi9ub2RlX21vZHVsZXMvc3R5bGUtbG9hZGVyL2Rpc3QvcnVudGltZS9pbmplY3RTdHlsZXNJbnRvU3R5bGVUYWcuanNcIik7XG4gICAgICAgICAgICB2YXIgY29udGVudCA9IHJlcXVpcmUoXCIhIS4uL25vZGVfbW9kdWxlcy9jc3MtbG9hZGVy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