Skip to content

Commit

Permalink
Update content.js
Browse files Browse the repository at this point in the history
  • Loading branch information
inventionpro authored Dec 27, 2024
1 parent 803e421 commit 11d56c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ chrome.storage.sync.get('norick', function (data) {
if (data.norick) {
let rick = 'dQw4w9WgXcQ,7GbNHtL1NMc,xvFZjo5PgG0,hbGiNEjqYL0,7_pRiUfp938,i3EFT4SZPo0,cErgMJSgpv0'.split(',');
if (rick.includes(id())) {
window.Audio = function(){};
document.querySelector("ytd-player").innerHTML = `<div style="width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:25px;font-weight:bold;">Blocked Rick</div>`;
document.querySelector('video').muted = true;
document.querySelector('video').pause();
}
}
});
Expand Down

0 comments on commit 11d56c6

Please sign in to comment.