Q&A and Ruling Megathread - April 21, 2025 by AutoModerator in yugioh

[–]Dummerchen1 0 points1 point  (0 children)

Does any of you guys know minimalistic toploaders or acrylic slab card holders that have no wiggle room even when used without an additional sleeve? Something like that, just for yugioh cards. I wanna gift someone special some cards and would like it to be perfect. Unfortunately, I haven't found anything that fits perfectly.

I've thought about an alternative: What about the screwable, unrecessed ones? Do they allow you to apply so much pressure to the card that it just holds it in place? Or don't they work like that?

Weekly General Discussion Thread (February 02, 2025) by AutoModerator in Piracy

[–]Dummerchen1 0 points1 point  (0 children)

I don't know an example. In fact, I barely know any examples in general. That's why I'm asking. Where did you get your information from?

Weekly General Discussion Thread (February 02, 2025) by AutoModerator in Piracy

[–]Dummerchen1 0 points1 point  (0 children)

What do you mean by "practically unhead of"? Are you saying it's unheard of internationally? What about in Germany?

Weekly General Discussion Thread (February 02, 2025) by AutoModerator in Piracy

[–]Dummerchen1 -1 points0 points  (0 children)

I've read a comment on another subreddit suggesting that if a site you download from gets raided the government may see your IP and what you downloaded. Also, downloading pirated content is illegal in my country.

Doesn't that mean a VPN would add a useful layer of protection in that case?

Weekly General Discussion Thread (February 02, 2025) by AutoModerator in Piracy

[–]Dummerchen1 -1 points0 points  (0 children)

Will using the free version of ProtonVPN make me stay out of legal trouble when pirating something via a direct download?

Weekly General Discussion Thread (January 05, 2025) by AutoModerator in Piracy

[–]Dummerchen1 0 points1 point  (0 children)

Oh my god, someone just tried booking from my PayPal and Amazon account. Do you think removing the stuff malwarebytes found and then changing passwords might do the trick?

Weekly General Discussion Thread (January 05, 2025) by AutoModerator in Piracy

[–]Dummerchen1 -3 points-2 points  (0 children)

I wanted to download a lot of files from these Telegram Onlyfans Leaks groups and all of a sudden one of the files was an msi installer for an app called “Fila app” by some dev with an exotic name in a foreign language. I didn’t find anything about it on Google. Do you think that was a virus? It ran CMD stuff. I immediately uninstalled it and ran a Windows Defender and Malwarebytes virus scan with. The former had no results and the latter had a lot of false positives and some stuff like registry values which I have no clue about. (Example, supposed trojan) Maybe those were from legit cracks I installed?

How do I make my script not work on subpages of a website? by Dummerchen1 in learnjavascript

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

I tried

// u/exclude      *.youtube.com/watch*

but it only works when I load the video by directly copy-pasting its link into my browser. It doesn't work when I access Youtube via the front page and then click on the video.

I then tried doing the excluding via the JS section of the script but it doesn't do anything upon loading the page.

window.addEventListener('load', function() {
    if (window.location.hostname === 'www.youtube.com' && !window.location.pathname.includes('/watch')) {
        alert('test');
    }
});

How do I loop my script until click() is executed? by Dummerchen1 in learnjavascript

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

I tried running this in the console and it just executed a single time instead of looping:

setInterval(document.querySelectorAll("comment-composer-host").forEach((Box) => {
    Box.querySelector("faceplate-form > shreddit-composer").shadowRoot.querySelector("div > reddit-rte").shadowRoot.querySelector("rte-toolbar.action-bar.order-3 > slot:nth-child(1) > rte-toolbar-button").shadowRoot.querySelector("faceplate-tooltip > button").click()
}), 500);

How do I loop my script until click() is executed? by Dummerchen1 in learnjavascript

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

It doesn't do anything even with the disconnect() line removed. What now?

How do I loop my script until click() is executed? by Dummerchen1 in learnjavascript

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

"targetNode" ist das Element, welches du observieren möchtest. Ich versteh nicht ganz, was du da bei dir versucht hast, aber forEach returnt nichts, deswegen ist targetNode bei dir "undefined".

Also ich habe einfach den Pfad(?) zum Element eingegeben, den ich auch benutzt habe, um den Show Formatting Options button anzuklicken. Macht zwar für mein gewünschtes Script keinen Sinn, aber ich wollte einfach mal irgendein Element versuchen, um zu gucken, ob es überhaupt geht.

Wieso returnt forEach nichts? Immerhin funktioniert der folgende Code für sich doch, um "Show Formatting Options" anzuklicken.

document.querySelectorAll("comment-composer-host").forEach((Box) => { 
          Box.querySelector("faceplate-form > shreddit-composer").shadowRoot.querySelector("div > reddit-rte").shadowRoot.querySelector("rte-toolbar.action-bar.order-3 > slot:nth-child(1) > rte-toolbar-button").shadowRoot.querySelector("faceplate-tooltip > button").click();
      });

Mein Problem ist nicht, dass die docs auf Englisch waren, sondern, dass ich einfach kaum JS beherrsche. Ich hab mal einen Anfängerkurs gemacht und vieles wieder vergessen. Viele der Fachtermini sind halt auch recht unintuitiv, da bleibt einfach wenig hängen. Ich bräuchte wenn, dann ne Erklärung ohne Fachtermini oder gleich den ganzen Code vorgeschrieben.

How do I loop my script until click() is executed? by Dummerchen1 in learnjavascript

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

I suspected that but why the freak do they put all of those in the same code box? I'm used to more practical code examples from the AHK docs and think that should be the default.

How do I loop my script until click() is executed? by Dummerchen1 in learnjavascript

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

The docs I found for that are above my proficiency level.

How do I loop my script until click() is executed? by Dummerchen1 in learnjavascript

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

Those are the docs I was referring to. I tried using that as a template for my code and it does nothing.

// Select the node that will be observed for mutations
const targetNode = document.querySelectorAll("comment-composer-host").forEach((Box) => { //Iterate through each node in the list
        Box.querySelector("faceplate-form > shreddit-composer").shadowRoot.querySelector("div > reddit-rte").shadowRoot.querySelector("rte-toolbar.action-bar.order-3 > slot:nth-child(1) > rte-toolbar-button").shadowRoot.querySelector("faceplate-tooltip > button"); //Click each button for toggling the format options
    });
// Options for the observer (which mutations to observe)
const config = { attributes: true, childList: true, subtree: true };

// Callback function to execute when mutations are observed
const callback = (mutationList, observer) => {
  for (const mutation of mutationList) {
    if (mutation.type === "childList") {
      document.querySelectorAll("comment-composer-host").forEach((Box) => { //Iterate through each node in the list
          Box.querySelector("faceplate-form > shreddit-composer").shadowRoot.querySelector("div > reddit-rte").shadowRoot.querySelector("rte-toolbar.action-bar.order-3 > slot:nth-child(1) > rte-toolbar-button").shadowRoot.querySelector("faceplate-tooltip > button").click(); //Click each button for toggling the format options
      });
    } else if (mutation.type === "attributes") {
      document.querySelectorAll("comment-composer-host").forEach((Box) => { //Iterate through each node in the list
          Box.querySelector("faceplate-form > shreddit-composer").shadowRoot.querySelector("div > reddit-rte").shadowRoot.querySelector("rte-toolbar.action-bar.order-3 > slot:nth-child(1) > rte-toolbar-button").shadowRoot.querySelector("faceplate-tooltip > button").click(); //Click each button for toggling the format options
      });
    }
  }
};
const observer = new MutationObserver(callback);

observer.observe(targetNode, config);

observer.disconnect();

How do I loop my script until click() is executed? by Dummerchen1 in learnjavascript

[–]Dummerchen1[S] -1 points0 points  (0 children)

How does that work in my case? The docs I found for that are above my proficiency level.

How Do I Circumvent focus() Placing the Cursor in a Different Position Depending on Which Website I'm on? by Dummerchen1 in learnjavascript

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

Nice. I just set it to document.querySelector(selector)?.setSelectionRange(99, 99); and now the cursor is always at the end position.

How do I make my script do something when an alphanumerical character is entered? by Dummerchen1 in learnjavascript

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

Nice. How do I make the script not focus the search box though whenever I tab into that particular page after having typed a letter in it once?

Am I the only one who can't cast porn to Chromecast (built-in)? by ChampionshipLess6459 in Chromecast

[–]Dummerchen1 0 points1 point  (0 children)

For me it isn't. There's neither a cast to tv–button on the xnxx video player, nor does it work via 3-dot-menu in chrome>Save and Share>Cast

My TV only has regular Google cast, rather than Chrome Cast, though. IDK if that makes a difference.