sjehuda Author


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.




Please unlist this userscript until it is resolved.

Currently, it does not work as I want it to work.

Once it works as expected, I will ask for listing it again.

Thank you.


Anyone, including management can see your own issues are on your script... very rarely do you need to bug the general public forums.

Pardon for posting it publicly. I did this before I noticed the issue discussion for this userscript.

Could it be that I do not receive notifications?

Also, I did not find notification options under preferences.


You should not inject a script into every page unless the user requests it and is fully informed before installation... typically in their .user.js engine (Greasemonkey, Tampermonkey, Violentmonkey, etc.) by their own hand or by a request to you to have it covered somewhere specific. There are some exceptions for top/down button scripts but they also don't usually inject foreign, out of your control, code.

The following code would make SWF to work, even after page has been completely loaded:

javascript:(function(){'use strict';let ruffleScript=document.createElement('script');ruffleScript.src='https://unpkg.com/@ruffle-rs/ruffle';document.head.appendChild(ruffleScript)})();

So I was thinking of scanning for SWF and once found, a bar at the top or an icon at the corner would show up asking to activate SWF (i.e. activate that one-line code); alternatively, I might occupy SWF elements just as done with
swf2js.

You should improve the @description when finished and also with saying how, exactly, to use this with your "Edit script info" page.

I will do so, once the task is done.

You should provide an example web page that it works on and for now use that as a @match and/or @include instead of every web page.

An example page could be this https://randomfoo.net/oscon/2002/lessig/free.html


The script is currently not working (see source code).

May I postpone this task, and if yes, then for how long?


Done!

The userscript, now, has an option to select a type of online handler and also an instance.

The parameters are:

  • handler for type of online handler.
  • instance for URL.

The URL for CommaFeed is https://${instance}/rest/feed/subscribe?url=${location.href} though we might not want to bound people to a fixed pathname, as they migh have a special setup for pathname, so we either should let people to enter the complete path (i.e. https://news.my.instance/rest/feed/subscribe?url= or add a custom field for people who use gemini:// gopher:// or just plain http://.


Greetings Steve!

Please pardon for the belated respond!

I have posted a question at CommaFeed.

Please help if you can.