kogama remove paste protection for friends/us server!!!

Fix the paste restriction bug in Kogama without checking link type, now for the us/friends server

< Opiniones de kogama remove paste protection for friends/us server!!!

Puntuación: Pasable; el script funciona, pero tiene carencias importantes

§
Publicado: 22/9/2025

There's a couple of issues with your script.

1 - Invalid @match

What you are using is:

// @match        https://friends.kogama.com/profile/150146281/

However, using something like this:

// @match        *://www.kogama.com/*
// @match        *://www.friends.kogama.com/*
// @match        *://kogama.com.br/*

Will make it work across all the servers, and it's way better in use. Currently it only works on this specific profile ( /profile/150146281/ )

2 - The code can be way shorter and smarter.

Example of a way more compact snippet:

(function() {
    document.addEventListener("paste", e => {
        e.stopImmediatePropagation();
    }, true);
    console.log("KoGaMa Paste Fix Active");
})();

Publicar respuesta

Inicia sesión para responder.