Share your repls and programming experiences

← Back to all posts
notification alert remover thing for repl.it
h
MrEconomical (2200)

what is this

Don't you just hate it when sometimes there is a notification and you click on the alert thing in the top left corner and the red dot doesn't go away? I made this simple bookmarklet to get rid of the red dot

Usage Instructions

To use this thing, save it as a bookmarklet. A bookmarklet is basically a bookmark that on click executes some javascript code, in this case deleting the notification red dot

  1. Create a new bookmark (name it whatever you want)
  2. In the url section, copy and paste this:
javascript:document.getElementsByClassName("sidebar-layout-notifications-count")[0]&&document.getElementsByClassName("sidebar-layout-notifications-count")[0].remove(),document.getElementsByClassName("sidebar-layout-header-toggle-alert")[0]&&document.getElementsByClassName("sidebar-layout-header-toggle-alert")[0].remove();
  1. Now, when you are on repl.it, if you want to delete the notification red dot thing, just click on the bookmarklet!
Commentshotnewtop
mat1 (3287)

"To use repl chat in repl.it, save it as a bookmarklet. A bookmarklet is basically a bookmark that on click executes some javascript code, in this case adding the repl chat window to repl.it." looks like you forgot to change Repl chat to notification remover ;)

AdCharity (1270)

:/ bruh it means check your notifcations... it goes away if you check them even in a new tab (like open press ctrl + the link)

PDanielY (979)

@AdCharity no it doesn't If you open the notification in a new tab the notification doesn't go away in your current tab

AdCharity (1270)

@PDanielY oof well I just saw my notifcations and now on my repl

... Nothing there.

[deleted]

finally, something I can use on a daily basis

[deleted]

@mwilki7 it works.