Skip to content

Instantly share code, notes, and snippets.

@DeveloLongScript
Last active June 14, 2024 04:16
Show Gist options
  • Save DeveloLongScript/7741173730c6ac3c84bf0799a465c59c to your computer and use it in GitHub Desktop.
Save DeveloLongScript/7741173730c6ac3c84bf0799a465c59c to your computer and use it in GitHub Desktop.
fixing adblock (spicetify)

Caution

STOP! In 2024, this will not fix your issue. Do not comment, as you will not get a response. This was for a problem with the old Adblock in June of 2023. Consider this Gist closed. Along with this, the old Adblock has been deprecated, with a new codebase, this is NOT the issue. I will leave this up because I don't feel like taking it down.

a sticky situation

with a new update to spotify, recently adblock (a spicetify extension) has had its adblocking for audio completely disabled. i was effected by this so i made a workaround. your gonna need the following

  • spicetify
  • adblock
  • and a working internet connection

alright, lets get started. first your gonna need to download this file. after doing that, decompress the file and move noWatchTime.js to the extensions folder.

extension folder:

Platform Path
Linux ~/.config/spicetify/Extensions or $XDG_CONFIG_HOME/.config/spicetify/Extensions/
MacOS ~/spicetify_data/Extensions or $SPICETIFY_CONFIG/Extensions
Windows %appdata%\spicetify\Extensions\

from https://github.com/CharlieS1103/spicetify-extensions/tree/main/adblock

after doing that run spicetify apply in your terminal and then you should have it. to confirm you do have it, while having spotify selected, use Ctrl+Shift+I. if it opens and you see in tiny text [No Watch Time] Blocked! in green font, you have done it.

@Noxde
Copy link

Noxde commented Jun 20, 2023

noWatchTime.js could be uploaded without zipping it
Thanks for the workaround btw

@DeveloLongScript
Copy link
Author

noWatchTime.js could be uploaded without zipping it Thanks for the workaround btw

nah it doesn't allow you to upload JS files

@Noxde
Copy link

Noxde commented Jun 22, 2023

noWatchTime.js could be uploaded without zipping it Thanks for the workaround btw

nah it doesn't allow you to upload JS files

oh alright, didn't know that, thanks again for the workaround its been working fine with this

@Kazent0
Copy link

Kazent0 commented Jun 26, 2023

Hello !
I've extracted and run /spicetify apply but when I do Control+Shift+I it doesnt show anything
And of course I still have the ad :/ can you help me please ?

@prakash-niroula
Copy link

LITERALLY after 1 hr found this gist and Finally got rid of those ads
thanks

@F3l12
Copy link

F3l12 commented Jun 13, 2024

Hello ! I've extracted and run /spicetify apply but when I do Control+Shift+I it doesnt show anything And of course I still have the ad :/ can you help me please ?

i also have the same problem did u find the fix?

@DeveloLongScript
Copy link
Author

This problem should be fixed now. Just update to the latest version of Spicetify, Spotify and Adblock.
This was for issues in Jun 2023. If you have an issue now, please go to the Adblock GitHub repository and make an issue there. @F3l12 @Kazent0

@DeveloLongScript
Copy link
Author

DeveloLongScript commented Jun 14, 2024

This Gist doesn't apply to your problem anymore!
Please do not comment saying this doesn't work. Update all your versions, and make an issue in Adblock, I am no longer going to respond to messages inside of this Gist. This was for issues in June 2023!

Caution

The old adblock (applied for this issue) has been deprecated. This means that now, you have no reason to be here. This WILL NOT solve your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment