Disabling new Post Reactions / Emojis?

This works @LemonadeJoe thanks.

I have tested it

Untitled

The red over the like button is what happens when you hover over it now. You can target specific URLS with the match section. @zephyr

8 Likes

Great! Thanks. Can you please post the script here? You can use “preformatted text” to make it readable with fixed width font.

I will put it to our github for everyone to easily install from TamperMonkey.

4 Likes
// ==UserScript==
// @name         Hide Discourse Reactions Picker
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Hides the expanded discourse reactions picker
// @author       You
// @match        *://*/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Create and inject CSS to hide the element
    var style = document.createElement('style');
    style.innerHTML = `
        .discourse-reactions-picker.is-expanded {
            visibility: hidden !important;
        }
    `;
    document.head.appendChild(style);
})();

and this changed specifically for overgrow if they would like.


// @match  https://overgrow.com/*
7 Likes

Looks like a fix has been found for you, @zephyr . Thanks @LemonadeJoe , @Coffweed and @CocoaCoir :v:

8 Likes

Excellent. Thank you very much!

I’ve just tried it and works great!

This script hides the expanded reactions picker on an Overgrow forum website by injecting CSS code to make the reactions picker element invisible when it is expanded. This prevents a user from reacting to posts with anything other than Like and disables the reaction picker on mouse over.

@zephyr, here is the repository, please read Installation instructions to install TamperMonkey and the script.

11 Likes

Thanks @LemonadeJoe and big thanks to @CocoaCoir
I’m going to read through and try to make sure I get this instalation right, I don’t have experience with anything this technical

4 Likes

tamper monkey is a breexze to work with, at least in firefox. probably as easy in chrome but i wouldn’t wish that browser on anyone.

3 Likes

Thank you @CocoaCoir and @LemonadeJoe this is truly awesome for y’all to do. I’ll have a little time later today to install the addon.

I appreciate this as well

Edit: Took 5min to setup and it works perfectly! Thank you so much!!

5 Likes