Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var jqry = document.createElement('script');
- jqry.src = "https://code.jquery.com/jquery-3.3.1.min.js";
- document.getElementsByTagName('head')[0].appendChild(jqry);
- console.log('Loading...')
- setTimeout(function() {jQuery.noConflict(); console.log('jQuery loaded'); }, 1000);
- setTimeout(function() {
- jQuery.extend(jQuery.expr[':'], {
- 'containsi': function(elem, i, match, array) {
- return (elem.textContent || elem.innerText || '').toLowerCase()
- .indexOf((match[3] || "").toLowerCase()) >= 0;
- }
- });
- jQuery('h3.tw-ellipsis:not(:containsi("nopixel"))').closest( "div.tw-flex-wrap > div" ).remove();
- console.log(jQuery('h3.tw-ellipsis:containsi("nopixel")').length+' Stream NoPixel Live!');
- jQuery("body").on('DOMSubtreeModified', ".tw-flex-wrap", function() {
- jQuery('h3.tw-ellipsis:not(:containsi("nopixel"))').closest( ".preview-card" ).remove();
- jQuery( ".tw-flex-wrap .tw-relative > div:empty" ).remove()
- //jQuery( ".tw-flex-wrap .tw-relative:empty" ).parent().hide()
- console.clear();
- console.log(jQuery('h3.tw-ellipsis:containsi("nopixel")').length+' Stream NoPixel Live!');
- });
- console.log('Enjoy'); }, 2000);void(0);
- console.clear();
- var clr = function() {
- console.clear();
- jQuery( ".tw-flex-wrap .tw-relative:empty" ).parent().remove()
- console.clear();
- console.log(jQuery('h3.tw-ellipsis:containsi("nopixel")').length+' Stream NoPixel Live!');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement