Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- javascript:function ejectThis(){
- /* declaracion de otras funciones*/
- function changeIcons(){
- var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
- link.type = 'image/x-icon';
- link.rel = 'shortcut icon';
- link.href = 'https://cdn.sstatic.net/Sites/stackoverflow/img/favicon.ico';
- document.getElementsByTagName('head')[0].appendChild(link);
- }
- /* ========================== */
- var asking = '',msg, tmp, value,css,head,estoseva,getStyleId,msj;
- var emojiss=['⛵','🗾','⬆️','♀'];
- value = ' {display:none;z-index: 0;}';
- css = '.adsbygoogle,#paPontonCore, #popads_topmost, .paPontonCore, .cNKqXxca, #cNKqXxcban';
- head = document.head || document.getElementsByTagName('head')[0];
- estoseva = document.getElementById("paPontonCore");
- getStyleId = document.getElementById("3");
- if(getStyleId != null){
- asking = prompt("Please enter css name");
- tmp = css;css='';
- if (asking != null) {
- var second;
- /* add CSS then ID*/
- if(asking.match(/\./)==null){ msg=1;second = ' ,.' + asking + ' ,#' + asking; }else{ second = ',' + asking + ',' + asking.replace('.','#'); }
- if(asking.match(/\#/)==null && msg==1){ second = ' ,.' + asking + ' ,#' + asking; }else{second = ' ,' + asking.replace('.','#') + ',' + asking.replace('#','.');}
- css = tmp + second + value;
- getStyleId.innerText = css;
- console.log(msg);
- }
- $(estoseva).hide(); $(estoseva).remove();
- }else{
- css = css + value;
- style = document.createElement('style');
- style.type = 'text/css';
- style.id='3';
- style.appendChild(document.createTextNode(css));
- $(estoseva).hide();
- $(estoseva).remove();
- $('div[id^="google_ads_iframe"],img[src^="http://imgur.com/"], img[src^="http://i67.tinypic.com/"], img[src^="http://images.dmca.com/"], img[src^="http://icons.iconarchive.com/"], #following-avatars, #E_cHVyZVBVNHVf').remove();
- head.appendChild(style);
- }
- changeIcons();
- };
- ejectThis();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement