PhysixCat

no-ads-twitch-method-2

Nov 2nd, 2020 (edited)
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. Method #2: Decent, not as flexible, but only requires your browser - Use Ublock Origin + custom filter + Greasemonkey script
  2.  
  3. - Install the Ublock Origin plugin for your browser (available for both Firefox and Chrome): https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
  4.  
  5. - Once installed, click the Ublock Origin logo on the top right of the screen, and click on "Open the dashboard" (an icon with sliders on it)
  6.  
  7. - Once in the dashboard, enable the "I am an advanced user" option. Click on the gears next to this text.
  8.  
  9. - At the bottom of this screen, you will see a line that says `userResourcesLocation` followed by `unset`. We're going to replace `unset`, with the following: `https://ttv-ublock.vercel.app/twitch-videoad.js` . Note, there must be a space between userResourceLocation and the URL (as there was originally between `userResourcesLocation` and `unset`). I'm using the ```` characters for reference, do not include them in the URL.
  10.  
  11. - Click Apply. Go back to the dashboard screen. Click on the Filter Lists tab. Click "Purge all caches" and then "Update now".
  12.  
  13. - Install the Tampermonkey plugin https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/
  14.  
  15. - Go to the top right, click on the monkey icon. Select "New user script"
  16.  
  17. - In this new screen, paste all the text found inside of this URL: https://gist.githubusercontent.com/simple-hacker/ddd81964b3e8bca47e0aead5ad19a707/raw/aa9525331d572e86fc6a682b7378e64df4540f21/refreshTwitchAd.js
  18.  
  19. - Save the script.
  20.  
  21. - Close Firefox/Chrome. Open it again
  22.  
  23. - You're done! Now we have accomplished the following: No pre-roll ads will appear, and anytime a mid-roll ad starts, the page will automatically refresh, going back to the stream. We're still losing two seconds or so of the stream, but it's better than 30.
Advertisement
Add Comment
Please, Sign In to add comment