sjehuda Author

I give up.

Even my attempts against it did not appear to work.

I will contact the original author for further planning.


Calling to the initial function over again with a boolean variable was enough to do the task.

Solved!


Good day!

Newspaper is an HTML feed renderer. By default it displays maximum 5 entries. Upon clicking on "See more news" it displays all entries. It does so by adding streamburner_active=0 query to the URL.

I would be glad to receive an advise about a different mean to ignore a setting.

I was thinking on changing a setting with GM.getValue/GM.setValue (e.g. "load all" = true) and to revoke that setting (i.e. false) upon click/mouse event - after rendering task is done.

Please advise,
Schimon



Is someone planning to write a userscript for the so called "Privacy Pass"?

Silk - Privacy Pass Client (TypeScript project)

I'm willing to attempt to collaborate, if someone is interested.



Thank you for your feedback; I should have done this a long time ago.

I have added more settings, albeit most do not work yet.

And, as always, you are welcome to report issues and suggest improvements



The developer has stated that support for GM API is not planned, and yet, because the summary of FREE Browser does mention "Greasemonkey style script support", I think it would be worthwhile to make attempts adhering for GM API support for FREE Browser.




The numbers are soaring, despite the message I have posted. What should I do?


Issue has been solved!

      for (linkElement of document.links) {
        linkElement.addEventListener("mouseover",
          async function(e) {
            if (e.target && e.target.nodeName == "A") {
              hyperLink = e.target;
              await xhrHyperLink(hyperLink);
            }
          },
          {
            once: true
          }
        );
      }

Thank you hacker09 and Konf!



Greetings!

I am attempting to remove the event listener once it is called.

document.addEventListener("DOMContentLoaded", function() {
  document.body.addEventListener("mouseover", async function(e) {
    if (e.target && e.target.nodeName == "A") {
      hyperLink = e.target;

      // Attempts to remove event listener
      // /questions/4386300/javascript-dom-how-to-remove-all-event-listeners-of-a-dom-object

      //hyperLink.removeEventListener('mouseover', addEventListenerToHyperlinks);
      //hyperLink.replaceWith(hyperLink.cloneNode(true));
      //let clone = hyperLink.cloneNode(true);
      //hyperLink.replaceWith(clone);

      await xhrHyperLink(hyperLink);
    }
  });
});

Whoever sees this, please consider helping.




I see that the script is not flagged.

May I remove the following text?

# WIP : THIS SCRIPT DOES NOT WORK!
# See [Help making ruffle to work](https://openuserjs.org/garage/Help_making_ruffle_to_work)

Add a list of SearxNG instances to metablock @match.


Add configuration in the form of monkey menu commands


Please see changes. Warning note has not been changed.

Nicely done on part 3 btw.

Thank you for this comment. It is important for me to receive such comments.

Misc note

Done.

I did it before, and I have even commented that previous code. I have changed it to a unicode character because I did not want people to be connected to a third-party domain.

### <!-- img src="https://raw.githubusercontent.com/KDE/falkon/master/logo.png" height="30" alt="Falkon" title="Download Falkon Browser"/ --> 🦅 Designed for <span style='color:MediumPurple'>[Falkon](https://www.falkon.org/) web browser</span>‬<!-- ![Falkon Web Browser](https://raw.githubusercontent.com/KDE/falkon/master/logo.png "Falkon Web Browser") -->


I have updated the script.

  1. The scripts checks for SWF elements;
  2. Once an SWF element has been detected, a bar would show up;
  3. Once the bar is clicked upon, the script would load Ruffle (from CDN).

Important: The script still applied to any page. See // @match file:///* and // @match *://*/*.

I hope it is approvable.



Upon hovering a subject link, the userscript scans for a valid hostname from a selection of hostnames.

However, another link may be affected if is hovered while the scan is in the middle of processing.