Virginia’s terrible new lawyer basic, Jason Miyares, has pulled the state from a temporary supporting abortion rights. He’s additionally requested the Trumped-up Ideal Court docket to overturn Roe v. Wade. That is possibly what Virginia electorate sought after. (Washington Publish)
Condominium tenants are forming renters unions to jointly discount with landlords. That’s a good suggestion. (Wall Side road Magazine)
Elie Mystal on Mitch McConnell’s Klan-ian slip. (The Country)
Mystal additionally explains how Leader Justice John Roberts has trustworthy his prison profession to isolating Black folks from the poll field. (CNN)
Scene from an anti-vax rally in Washington, DC this weekend. (Twitter)
Democrats are carried out with the Senate’s maximum pointless Democrat, Kyrsten Sinema, however GOP specialists and donors assume she’s swell. (AP)
In the event you reside within the Pacific Northwest, it’s a must to concern about landslides in conjunction with the rain. (Seattle Occasions)
Within the GOP’s obsession with crypto foreign money. (Slate)
Methods to retailer reduce avocados in order that they don’t get all gross. I for my part hardly have a leftover avocados as soon as the Juanita chips pop out. (Salon)
Two males sued Common for chopping Ana de Armas from the movie “The day gone by,” whilst nonetheless that includes her within the trailer. This feels extra like a prison case than civil. (The Day by day Beast)
Remembering the good André Leon Talley. (New York Occasions)
I like to recommend W. Kamau Bell’s upcoming docuseries about Invoice Cosby, “the rapist who had a TV display as soon as.” (AV Membership)
Adam Ragusea makes me really feel higher about my two-pot an afternoon espresso addiction.
Apply Stephen Robinson on Twitter.
Do your Amazon buying groceries thru this hyperlink, as a result of causes.
Year Wonkette is one hundred pc ad-free and fully supported by means of reader donations. That is you! Please click on the clickie, in case you are ready.
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
!function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '482172895483293'); fbq('track', 'PageView');
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
/*! getClosest.js | (c) 2017 Chris Ferdinandi | MIT License | http://github.com/cferdinandi/getClosest */ /** * Get the closest parent element that matches a selector. * @param {Element} elem Starting element * @param {String} selector Selector to match against * @return Element Returns null if not match found */ var getClosest = function(elem, selector) {
// Element.matches() polyfill if (!Element.prototype.matches) { Element.prototype.matches = Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector || function(s) { var matches = (this.document || this.ownerDocument).querySelectorAll(s), i = matches.length; while (--i >= 0 && matches.item(i) !== this) {} return i > -1; }; }
// Get closest match for (; elem && elem !== document; elem = elem.parentNode) { if (elem.matches(selector)) return elem; }
return null;
};
// Vanilla JS
var className="active";
// getting current URL and adding a class on the current menu item
var path = location.pathname.split("https://www.wonkette.com/")[1]; var link = document.querySelectorAll('.menubar a[href="https://www.wonkette.com/" + path + '"]'); if (link[0]) { if (link[0].classList) { link[0].classList.add(className); } else { link[0].className += ' ' + className; } }
// remove class from home-link var home = document.getElementsByClassName('home__item'); if (home[0]) { if (home[0].classList) { home[0].classList.remove(className); } else ') + '(b }
// search the closest parent and adding an active class on it too
var closestParent = getClosest(link[0], '.menubar_item-dropdown');
if (closestParent) { if (closestParent.classList) { closestParent.classList.add(className);
} else { closestParent.className += ' ' + className; } }
var socials = document.getElementsByClassName('social-links')[0]; var cloneSocials = socials.cloneNode(true);
var menu = document.getElementById("menubar"); var cloneMenu = menu.cloneNode(true);
var mobileMenu = document.getElementsByClassName('main-menu-wrapper')[0]; var beforeEl = document.getElementsByClassName('menu-global__search-form')[0];
mobileMenu.insertBefore(cloneSocials, beforeEl); mobileMenu.insertBefore(cloneMenu, beforeEl);
if (!document.body.classList.contains('logged-out-user')) { var existCondition = setInterval(function() { var userLink = document.querySelectorAll('.main-menu-item--my_page .link'); if (userLink.length) { clearInterval(existCondition); var membersLink = document.querySelectorAll('#membersLink'); var userUrl = userLink[0].href; Array.prototype.forEach.call(membersLink, function(el) { el.href = userUrl; });
if (document.querySelector('.main-menu-item--designer_editor')) { document.querySelector('.main-menu-wrapper').classList.add('user-admin'); } } }, 500); } else { var existCondition = setInterval(function() { var userLink = document.querySelector('.main-menu-item--login .link'); if (userLink) { clearInterval(existCondition); userLink.href="http://www.wonkette.com/core/users/email_login/"; } }, 500)
}
function copyValue(el) { var thisVal = el.options[el.selectedIndex].text; var closestForm = getClosest(el, 'form'); var paypalAmount = closestForm.nextSibling.querySelector('.paypal-amount'); paypalAmount.value = thisVal; }
document.addEventListener("scroll", createIdleScrollListener(() => { if (window.scrollY > 0) { document.body.classList.add('page-scrolled'); } else { document.body.classList.remove('page-scrolled'); } }));
function createIdleScrollListener(callback) { let ticking = false;
return function onScrollIdle() { if (ticking) { return; } ticking = true; requestAnimationFrame(() => { callback(); ticking = false; }); }; }
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
(function () { var scriptURL = 'https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js'; if (window.ShopifyBuy) { if (window.ShopifyBuy.UI) { ShopifyBuyInit(); } else { loadScript(); } } else { loadScript(); }
function loadScript()
function ShopifyBuyInit() { var client = ShopifyBuy.buildClient({ domain: 'wonkette-bazaar.myshopify.com', storefrontAccessToken: 'ed4ae4c7827a0ad6e2f0877e72007d6a', });
ShopifyBuy.UI.onReady(client).then(function (ui) { ui.createComponent('collection', { id: 79186919536, node: document.getElementById('collection-component-0908d7149de'), moneyFormat: '%24%7B%7Bamount%7D%7D', options: { "product": { "variantId": "all", "contents": { "imgWithCarousel": false, "variantTitle": false, "description": false, "buttonWithQuantity": false, "quantity": false }, "styles": { "product": { "@media (min-width: 601px)": { "max-width": "calc(25% - 20px)", "margin-left": "20px", "margin-bottom": "50px" } }, "button": { "background-color": "#c21f38", ":hover": { "background-color": "#af1c32" }, ":focus": { "background-color": "#af1c32" } } } }, "cart": { "contents": { "button": true }, "styles": { "button": { "background-color": "#c21f38", ":hover": { "background-color": "#af1c32" }, ":focus": { "background-color": "#af1c32" } }, "footer": { "background-color": "#ffffff" } } }, "modalProduct": { "contents": { "img": false, "imgWithCarousel": true, "variantTitle": false, "buttonWithQuantity": true, "button": false, "quantity": false }, "styles": { "product": { "@media (min-width: 601px)": { "max-width": "100%", "margin-left": "0px", "margin-bottom": "0px" } }, "button": { "background-color": "#c21f38", ":hover": { "background-color": "#af1c32" }, ":focus": { "background-color": "#af1c32" } } } }, "toggle": { "styles": { "toggle": { "background-color": "#c21f38", ":hover": { "background-color": "#af1c32" }, ":focus": { "background-color": "#af1c32" } } } }, "productSet": { "styles": { "products": { "@media (min-width: 601px)": { "margin-left": "-20px" } } } } } }); }); } })();
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
window.REBELMOUSE_STDLIB.loadExternalScript("https://checkout.stripe.com/checkout.js", function() {
if (!Element.prototype.matches) Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
if (!Element.prototype.closest) Element.prototype.closest = function(s) { var el = this; if (!document.documentElement.contains(el)) return null; do el.parentNode; while (el !== null && el.nodeType === 1); return null; };
function formsHandling() { var formDonate = document.querySelectorAll('.donation-form:not(.processed)');
formDonate.forEach(function(formEl) { var formEl = formEl;
formEl.classList.add("processed");
formEl.addEventListener("submit", function(event) { event.preventDefault(); });
var donationBtns = formEl.querySelectorAll('.donate-button');
donationBtns.forEach(function(el) { el.addEventListener("click", function(event) { event.preventDefault(); formProcessing(el) }); });
function formProcessing(el) { var btn = el; var payment = btn.getAttribute('data-payment'); var planType = formEl.querySelector('input[name="plan_type"]:checked').value; var checkedOption = formEl.querySelector('input[name="amount"]:checked'); var amount = checkedOption.value * 1; var amountOptional = checkedOption.getAttribute('data-amount'); var dataValue = checkedOption.getAttribute('data-value'); var action;
if ( formEl.contains(formEl.querySelector('.remove-me')) ) { formEl.querySelectorAll('.remove-me').forEach(function(el){ el.remove() }); }
if ( payment == "paypal" ) { formEl.action = "https://www.paypal.com/cgi-bin/webscr"; formEl.setAttribute('target', '_blank');
addHidden( 'currency_code', 'USD'); addHidden( 'cmd', ''); addHidden( 'return', "https://www.wonkette.com/st/Wonkettes_Hero"); addHidden( 'cancel_return', window.location.href);
if ( planType == "once" ) { checkedOption.value = dataValue; formEl.querySelector('input[name="cmd"]').value="_donations"; addHidden( 'business', 'rebecca@wonkette.com'); addHidden( 'item_name', 'Wonkette Donation'); addHidden( 'item_number', 'Just Once');
//add new params addHidden( 'a3', dataValue); addHidden( 'p3', 1); addHidden( 't3', 'D');
} else if ( planType == "monthly" ) { formEl.querySelector('input[name="cmd"]').value="_xclick-subscriptions"; addHidden( 'business', 'rebecca@wonkette.com'); addHidden( 'item_name', 'Wonkette Recurring Donation'); addHidden( 'item_number', 'wonkette_recurring');
//add new params addHidden( 'a3', dataValue); addHidden( 'p3', 1); addHidden( 't3', 'M'); addHidden( 'src', 1); addHidden( 'srt', 52); } formEl.submit(); } else if ( payment == "strip" ) { addHidden( 'entity_type', 1); addHidden( 'plan_type', 1); addHidden('entity_id', getSiteId() ); checkedOption.value = dataValue * 100;
if ( planType == "once" ) { formEl.action = "/core/payment/single_donation"; addHidden( 'plan_name', 'One Time Donation'); stripInit(amount, 'One Time Donation');
} else if ( planType == "monthly" ) { formEl.action = "/core/payment/recurring_donation"; addHidden( 'plan_name', 'Monthly Donation'); addHidden( 'plan', 'donation_' + amount); stripInit(amount, 'Monthly Donation'); }
}
} function addHidden(key, value) { // Create a hidden input element, and append it to the form: var input = document.createElement('input'); input.type="hidden"; input.name = key; input.value = value; input.className += 'remove-me'; formEl.appendChild(input); }
function stripInit(amount, description) { var token = function(res){ addHidden('stripeToken', res.id); addHidden('stripeEmail', res.email); formEl.submit(); };
if (amount) { StripeCheckout.open({ key: 'pk_live_7dJjNGbMgTkHfEasr9FsLcjF', // real //key: 'pk_test_zbMpaIyMyHJ7TLUEheC7q2iS', //test amount: amount, name: 'Wonkette', image: 'https://assets.rbl.ms/16950638/origin.png', description: description, panelLabel: 'Donate', token: token, locale: 'auto' }); } else { window.alert('Select donation amount first') } } });
function getSiteId() { var site_id = null; var inner = document.querySelector('html').innerHTML var str = inner.split('"site_id": '); if( str[1] != undefined ){ site_id = str[1].split(',')[0]; } return !isNaN(site_id) ? site_id : false; } }
formsHandling();
REBELMOUSE_STDLIB.createElementChangeListener(".show-more.js-expand:not(.processed)", (el) => { const keepReading = el; keepReading.classList.add("processed"); keepReading.addEventListener("click", function() { setTimeout(formsHandling, 500) }); });
});
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
window.disqus_config = function () { this.page.identifier = "2656456172", this.page.url = "https://www.wonkette.com/tabs-tues-jan-25-2022"; };
var disqusCt = document.createElement('div'), disqus_config; disqusCt.id = 'disqus_thread';
(function() )();
function loadCountScript(callback) { var s = document.createElement('script'); s.type="text/javascript"; s.async = true; s.id = 'dsq-count-scr'; s.src = "//wonkettecom.disqus.com/count.js"; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); s.onload = () => callback(s); document.head.append(s); }
loadCountScript(script => { /*Add comment Button to all articles*/ REBELMOUSE_STDLIB.createElementChangeListener(".share-panel:not(.js--has-comments)", (el) => { let sharesPanel = el; sharesPanel.classList.add('js--has-comments');
if(sharesPanel.closest('.article__shares')) { let postId = window.REBELMOUSE_BOOTSTRAP_DATA.post.id, postURL = location.protocol + '//' + location.host + location.pathname; addButton(postURL, postId, sharesPanel);
} else if( sharesPanel.closest('.widget') ) { let thisPost = sharesPanel.closest('.widget'), postId = thisPost.getAttribute('elid'), postURL = thisPost.querySelector('.widget__headline-text').getAttribute('href'); addButton(postURL, postId, sharesPanel); } }); });
function addButton(url, id, el) { var commentBtn = document.createElement('span'); //commentBtn.href = url; commentBtn.classList.add('js--toggleDisqus'); commentBtn.classList.add('disqus-comment-count'); commentBtn.setAttribute('data-disqus-url', url); commentBtn.setAttribute('data-postid', id); //commentBtn.setAttribute('data-disqus-identifier', id); commentBtn.innerText="0"; el.append(commentBtn); DISQUSWIDGETS.getCount({reset: true}); //console.log(url, id); }
REBELMOUSE_STDLIB.createElementChangeListener(".js--toggleDisqus:not(.js--callDisqus-processed), .show-more:not(.js--callDisqus-processed)", (el) => { console.log('run callDisqus()');
var timeOut=10; if(el.classList.contains("show-more")){ timeOut=1000; } el.classList.add('js--callDisqus-processed') el.addEventListener('click', function (){ setTimeout(function(){ let t = el, thisPost = t.closest('article') || t.closest('.js-section-loader-feature-container'), postId = t.getAttribute('data-postid'), postURL = t.getAttribute('data-disqus-url');
document.querySelector('#disqus_thread') && document.querySelector('#disqus_thread').remove();
if( t.closest('.article__shares') ) { let postWrap = document.querySelector('.mobile-post-wrapper'); postWrap.appendChild(disqusCt); } else { let afterEl = t.closest('.widget'); if(afterEl){afterEl.parentNode.insertBefore(disqusCt, afterEl.nextElementSibling);} }
console.log('DISQUS.reset', postId, postURL); DISQUS.reset({ reload: true, config: function () { this.page.identifier = postId; this.page.url = postURL; } });
if( t.classList.contains('js--toggleDisqus') ) { let disqus = document.getElementById("disqus_thread"); // disqus.scrollIntoView(); } },timeOut) }); });
// Hide hidden tip-jar, idk why window.REBELMOUSE_STDLIB.createElementChangeListener(".js-keep-reading:not(.js-processed)", (el) => { let keepReading = el; keepReading.classList.add('js-processed'); //keepReading.closest('.mb-2').nextElementSibling.style.display='none'; });
});
Source_link