Skip to content

Instantly share code, notes, and snippets.

@botmtl
Created November 6, 2017 01:52
Show Gist options
  • Save botmtl/9b420f8ee49b8fb12840569c0cd41b61 to your computer and use it in GitHub Desktop.
Save botmtl/9b420f8ee49b8fb12840569c0cd41b61 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name MyVidster
// @namespace MyVidster
// @resource myvidsercss https://gist.githubusercontent.com/botmtl/71f58e66c0bc21847f3cb2bc2bcbac41/raw/345187e234e6c4a516764b113b487606b8f19020/MyVidster.UserStyle.css
// @icon http://is3.mzstatic.com/image/thumb/Purple127/v4/1f/9b/f7/1f9bf735-e3dd-9028-7cd7-1655a7bf232e/source/100x100bb.jpg
// @match *://www.myvidster.com/*
// @grant GM_addStyle
// @grant GM_getResourceText
// ==/UserScript==
t=document.querySelectorAll('.collected');
for(i=0; i<t.length;i++){
if (t[i].innerText.includes('Collected')) {
t[i].innerText = t[i].innerText.replace(/Collected by (\d+) users/ig,'$1');
} else {
t[i].style = "display:none;"
}
debugger;
}
t=document.querySelectorAll('div.container2 > table')[0].width="100%";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment