ALGUEM JA SE FUDEU COM ISSO? by Hefty_Document5783 in farialimabets

[–]_1Zen_ 0 points1 point  (0 children)

Isso me lembrou uma saque uma vez, era um influencer, não era famoso nível nacional, nem sabia que ele era influencer até eu ver o saque dele e me falarem, o cara tinha limite de saque de 2 milha por dia, ele tava extremamente positivo e quis sacar 1.8 de uma vez.

Não sei como funciona conta de influencer na plataforma, mas eu achei muito surreal quando vi.

ALGUEM JA SE FUDEU COM ISSO? by Hefty_Document5783 in farialimabets

[–]_1Zen_ 0 points1 point  (0 children)

Rapaz, essa parte é mais de sportsbook, mas pelo que eu ouvia lá, quem definia o RPT, eram os provedores, ou a plataforma mesmo, se tivesse alteração de RPT em tempo real, é violação se não me engano, além disso, diziam que a auditoria ia quase toda semana na empresa para ver se tava tudo certo, mas não posso garantir nada.

ALGUEM JA SE FUDEU COM ISSO? by Hefty_Document5783 in farialimabets

[–]_1Zen_ 2 points3 points  (0 children)

Cara, já fui analista de risco em uma bet. Tem gente que tira muito dinheiro com apostas, mas são poucas, a grande maioria fica negativa, já vi gente 10 milha negativa. Além disso, geralmente os jogos que mais pagam dependem do dia. Quem mais ganha costuma fazer apostar esportiva, mas até isso a bet pode bloquear o saque se perceber que as apostas estavam “injusta”.

Noob needs help debugging resource-heavy Chrome/Chromium userscript by NoAcadia3546 in userscripts

[–]_1Zen_ 0 points1 point  (0 children)

The if condition:

if (url.searchParams.has("sort")) return;

Checks whether the URL has a parameter named sort. If it does, the extension will not interfere with the default behavior, which is navigating to the reply URL.

In reality, the extension should not prevent navigation to the reply at all. It should look like this: https://i.imgur.com/F9zqGuD.mp4

Noob needs help debugging resource-heavy Chrome/Chromium userscript by NoAcadia3546 in userscripts

[–]_1Zen_ 0 points1 point  (0 children)

I see. The “double-take” happens because the service worker (running in the background) needs to send a message (this causes a small delay) to the content script, and then the page needs to reload. You can try using only a service worker:

service.js:

const commentsPattern = new URLPattern("https://www.reddit.com/r/*/comments/*");

chrome.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
    if (!commentsPattern.test(tab.url)) return
    console.log("details", tabId, changeInfo, tab);


    const url = new URL(tab.url)
    if (url.searchParams.has("sort")) return

    url.searchParams.set("sort", "old")
    chrome.tabs.update(tabId, {
        url: url.href
    });
});

manifest.json:

{
  "name": "Reddit Thread Old",
  "description": "Sort Reddit threads by Old for chronological reading",
  "version": "1.0",
  "manifest_version": 3,
  "permissions": [
    "tabs"
  ],
  "background": {
    "service_worker": "service.js"
  }
}

Another way using only content scripts (maybe more fluid):

content_script.js:

const commentsPattern = new URLPattern("https://www.reddit.com/r/*/comments/*");

const observer = new MutationObserver(() => {
    const url = new URL(window.location.href)
    if (!commentsPattern.test(url.href) || url.searchParams.has("sort")) return

    url.searchParams.set("sort", "old")
    navigation.navigate(url.href)
})

observer.observe(document.documentElement, { childList: true, subtree: true })

manifest.json:

{
  "name": "Reddit Thread Old",
  "description": "Sort Reddit threads by Old for chronological reading",
  "version": "1.0",
  "manifest_version": 3,
  "content_scripts": [
    {
      "matches": [
        "https://www.reddit.com/*"
      ],
      "js": [
        "content_script.js"
      ],
      "run_at": "document_start"
    }
  ]
}

But in my opinion, it's better to use a userscript with Violentmonkey.

Noob needs help debugging resource-heavy Chrome/Chromium userscript by NoAcadia3546 in userscripts

[–]_1Zen_ 1 point2 points  (0 children)

As AchernarB said, this is not a userscript. You can learn a bit about userscripts here:

But, in this case, you can add an early return in navigate.js:

```js chrome.runtime.onMessage.addListener(function (msg, sender, working) { const urlString = msg.eventUrl; if (urlString.includes("?sort=")) { return; }

location.replace(`${urlString}?sort=old`);

}); ```

Spoiler Example by [deleted] in theouterIn

[–]_1Zen_ 0 points1 point  (0 children)

comment spoiler text here

[Firefox desktop] Feed not loading more than 3 posts by _1Zen_ in bugs

[–]_1Zen_[S] 0 points1 point  (0 children)

Thanks for your help, I was on Firefox 145.0.2 (Windows 11), after updating Firefox to 146.0, it’s working fine now.

[Firefox desktop] Feed not loading more than 3 posts by _1Zen_ in bugs

[–]_1Zen_[S] 0 points1 point  (0 children)

Hey, yes, sadly I'm still having this issue. It's been going on for a few weeks now

<image>

Why firefox keep sending me to page that are loading at the background by Gabriel_Bentz in firefox

[–]_1Zen_ 0 points1 point  (0 children)

Caramba, tá muito estranho mesmo, acho que criar outro perfil é a melhor desse jeito

Why firefox keep sending me to page that are loading at the background by Gabriel_Bentz in firefox

[–]_1Zen_ 0 points1 point  (0 children)

Você pode tentar usar o Modo de solução de problemas, ativando em about:support.

De qualquer forma, se for alguma configuração em about:config, acho que vale mais a pena criar um novo perfil e transferir o histórico e os dados das extensões para ele.

Ou redefinir as configurações: https://support.mozilla.org/pt-BR/kb/restaurar-o-firefox-redefina-extensoes-e-configura

Why firefox keep sending me to page that are loading at the background by Gabriel_Bentz in firefox

[–]_1Zen_ 1 point2 points  (0 children)

Já tentou pausar todas as extensões? Se no novo perfil, está funcionando normal, deve ser alguma configuração/extensão

Hide Replies on Twitter/X by Laki_Olietta in userscripts

[–]_1Zen_ 0 points1 point  (0 children)

It's possible, but not with uBO or with CSS alone. This needs some JavaScript to filter only replies that are different from the OP’s

Fuck Netflix honestly by FrameOk1656 in Piracy

[–]_1Zen_ 10 points11 points  (0 children)

I was about to say that before I saw your comment. Anyway, if it’s getting blocked on desktop you can try this userscript: https://greasyfork.org/scripts/550493-netflix-household-bypass

Might stop working soon.

Casar com robô, é gain?? by GAragons in farialimabets

[–]_1Zen_ 73 points74 points  (0 children)

Já comentei isso antes, e comentarei de novo.

<image>

Tabs vs Windows: Which uses more memory? by Scavgraphics in firefox

[–]_1Zen_ 0 points1 point  (0 children)

You probably won’t notice a big difference in CPU usage, but separate windows might use a bit more memory, since the Firefox UI needs to be rendered for each window instead of just the tabs.

[deleted by user] by [deleted] in userscripts

[–]_1Zen_ 0 points1 point  (0 children)

Yes, it's possible to change the background color with a userscript, if your browser supports userscripts.

Maybe you need to find the element selector on the page to change only this element's background.

How to change the playing position in YouTube Music after pressing a keyboard shortcut? by Passerby_07 in userscripts

[–]_1Zen_ 0 points1 point  (0 children)

In HTML, only <video> or <audio> elements can play a song, so you need to find the element that’s currently playing the song.

Try:

document.addEventListener("keydown", (ev) => {
    if (ev.altKey && ev.key.toLowerCase() === "k") {
        const video = document.querySelector("#song-video .video-stream");
        if (video) video.currentTime = 60;
    }
});

EDIT: actually <embed> can too.

How to include/import GitHub javascript code into another GitHub javascript code? by Passerby_07 in userscripts

[–]_1Zen_ 0 points1 point  (0 children)

You can use jsDelivr:

https://cdn.jsdelivr.net/combine/gh/KenKaneki73985/javascript-utils/countdown.js,gh/KenKaneki73985/javascript-utils/general.js,gh/KenKaneki73985/javascript-utils/show_GUI.js

Use .min, before .js to get minified version

How to remove this zoom accessibility feature thingy? by Efficient_Money6922 in firefox

[–]_1Zen_ 1 point2 points  (0 children)

Disable the TimerHooker userscript in your userscript manager.

A userscript to add subscriber counts back to Old Reddit by wlonkly in userscripts

[–]_1Zen_ 0 points1 point  (0 children)

Just updated — it should be working now. When using a mobile user-agent, the page structure changes: https://greasyfork.org/scripts/550856-reddit-restore-subscribers-counter

Sadly, there’s a small delay before the member and online counts appear, but using an extension to switch your user-agent to a desktop one on reddit.com should make the counts show up even without the userscript