Post: Remove Shadows & YouTube Player
04-12-2016, 11:11 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Remove Shadows in SB
     // ==UserScript== // @name         NGU Remove Shadow // @version      0.99 // @author       John // @match        https://www.nextgenupdate.com/forums/ // ==/UserScript==  iboxoshouts.update_shouts = function(shouts) {     iboxoshouts.shoutframe.innerHTML = shouts;     update(); }  function update() {     var sb = document.getElementById("shoutbox_frame");     var msgs = sb.children;     for(var i=1;i<msgs.length;i++) {         try {             if(msgs[i].childNodes.length >= 3) {                 if(msgs[i].children[3].hasChildNodes()) {                     msgs[i].children[3].children[0].children[0].setAttribute("style", "");                 }             }         }         catch(e) { }     } } 
Remove YouTube Player from user profiles
     // ==UserScript== // @name         NGU Remove YouTube Player // @version      0.99 // @author       John // @match        https://www.nextgenupdate.com/forums/members/* // ==/UserScript==  (function() {     'use strict';     $("#ytplayer").parent().parent().parent().remove(); })(); 
Last edited by John ; 04-14-2016 at 02:43 AM.

The following 3 users say thank you to John for this useful post:

GFM, Ethen
04-13-2016, 12:28 AM #2
Default Avatar
Remy
Guest
Originally posted by John View Post
Remove Shadows in SB
    
// ==UserScript==
// @name NGU Remove Shadow
// @version 0.99
// @author John
// @match https://www.nextgenupdate.com/forums/
// ==/UserScript==

iboxoshouts.update_shouts = function(shouts)
{
iboxoshouts.shoutframe.innerHTML = shouts;
update();
}

function update() {
var sb = document.getElementById("shoutbox_frame");
var msgs = sb.children;
for(var i=1;i<msgs.length;i++) {
try {
if(msgs[i].childNodes.length >= 3) {
if(msgs[i].children[3].hasChildNodes()) {
console.log(msgs[i].children[3].children[0].children[0]);
msgs[i].children[3].children[0].children[0].setAttribute("style", "");
}
}
}
catch(e) { }
}
}


Remove YouTube Player from user profiles
    
// ==UserScript==
// @name NGU Remove YouTube Player
// @version 0.99
// @author John
// @match https://www.nextgenupdate.com/forums/members/*
// ==/UserScript==

(function() {
'use strict';
$("#ytplayer").parent().parent().parent().remove();
})();


Thank you!
04-13-2016, 08:45 PM #3
GFM
Can’t trickshot me!
Thanks John!
04-13-2016, 08:49 PM #4
Ethen
Banned
Originally posted by John View Post
Remove Shadows in SB
    
// ==UserScript==
// @name NGU Remove Shadow
// @version 0.99
// @author John
// @match https://www.nextgenupdate.com/forums/
// ==/UserScript==

iboxoshouts.update_shouts = function(shouts)
{
iboxoshouts.shoutframe.innerHTML = shouts;
update();
}

function update() {
var sb = document.getElementById("shoutbox_frame");
var msgs = sb.children;
for(var i=1;i<msgs.length;i++) {
try {
if(msgs[i].childNodes.length >= 3) {
if(msgs[i].children[3].hasChildNodes()) {
msgs[i].children[3].children[0].children[0].setAttribute("style", "");
}
}
}
catch(e) { }
}
}


Remove YouTube Player from user profiles
    
// ==UserScript==
// @name NGU Remove YouTube Player
// @version 0.99
// @author John
// @match https://www.nextgenupdate.com/forums/members/*
// ==/UserScript==

(function() {
'use strict';
$("#ytplayer").parent().parent().parent().remove();
})();


Nice one John! Great release for the section!
04-15-2016, 01:32 AM #5
edub
Are you high?
Great release Happy

Those damn YouTube players... stare

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo