diff --git a/scripts/script.js b/scripts/script.js index 317a37a..f811f43 100644 --- a/scripts/script.js +++ b/scripts/script.js @@ -1,6 +1,6 @@ /*****YTPRO******* Author: Prateek Chaubey -Version: 3.4.65 +Version: 3.4.66 URI: https://github.com/prateek-chaubey/ */ @@ -174,7 +174,7 @@ const N_TRANSFORM_NAME_REGEXPS = [ // LavaPlayer regexps const N_TRANSFORM_REGEXP = 'function\\(\\s*(\\w+)\\s*\\)\\s*\\{' + - 'var\\s*(\\w+)=(?:\\1\\.split\\(""\\)|String\\.prototype\\.split\\.call\\(\\1,""\\)),' + + 'var\\s*(\\w+)=(?:\\1\\.split\\(.*?\\)|String\\.prototype\\.split\\.call\\(\\1,.*?\\)),' + '\\s*(\\w+)=(\\[.*?]);\\s*\\3\\[\\d+]' + '(.*?try)(\\{.*?})catch\\(\\s*(\\w+)\\s*\\)\\s*\\' + '{\\s*return"enhanced_except_([A-z0-9-]+)"\\s*\\+\\s*\\1\\s*}' + @@ -1436,6 +1436,12 @@ for( x in document.getElementsByTagName("ytm-reel-shelf-renderer")){ try{document.getElementsByTagName("ytm-reel-shelf-renderer")[x].remove(); }catch{} +for( x in document.getElementsByTagName("ytm-shorts-lockup-view-model")){ +try{document.getElementsByTagName("ytm-shorts-lockup-view-model")[x].remove(); +}catch{} + +} + } }