URL Cleanup Extensions for Pale Moon? Topic is solved

General discussion, compatibility and contributed extensions.

Moderators: satrow, Lootyhoof, Andrew Gilbertson

User avatar
hujan86
Apollo supporter
Apollo supporter
Posts: 37
Joined: Wed, 27 Sep 2017, 06:50

URL Cleanup Extensions for Pale Moon?

Postby hujan86 » Sat, 09 Dec 2017, 15:56

Is there any extensions in the same vein as Neat URL, Lean URL, Pure URL that work with Pale Moon? Its purpose is to remove unneeded URL parameters when I clicked on a link (e.g. "utm_content").
GTribe is a shithole full of bigots, pretenders and liars.

fillerup
Fanatic
Fanatic
Posts: 185
Joined: Mon, 19 May 2014, 19:14
Location: Finland

Re: URL Cleanup Extensions for Pale Moon?  Topic is solved

Postby fillerup » Sat, 09 Dec 2017, 16:03


jars_
Moonbather
Moonbather
Posts: 72
Joined: Tue, 27 Dec 2016, 00:12

Re: URL Cleanup Extensions for Pale Moon?

Postby jars_ » Sat, 09 Dec 2017, 16:06

Redirect Bypasser
just fix the version number in install.rdf.

User avatar
hujan86
Apollo supporter
Apollo supporter
Posts: 37
Joined: Wed, 27 Sep 2017, 06:50

Re: URL Cleanup Extensions for Pale Moon?

Postby hujan86 » Sat, 09 Dec 2017, 16:38

jars_ wrote:Redirect Bypasser
just fix the version number in install.rdf.

Is it okay to edit "Firefox" to "Pale Moon"?
GTribe is a shithole full of bigots, pretenders and liars.

jars_
Moonbather
Moonbather
Posts: 72
Joined: Tue, 27 Dec 2016, 00:12

Re: URL Cleanup Extensions for Pale Moon?

Postby jars_ » Sat, 09 Dec 2017, 17:11

hujan86 wrote:just fix the version number in install.rdf.
Is it okay to edit "Firefox" to "Pale Moon"?

version number ёпт! ;)
in orig we have:

<!-- Firefox -->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>32.0</em:minVersion>
<em:maxVersion>46.*</em:maxVersion>
</Description>
</em:targetApplication>



edit version:

<!-- Firefox -->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>24.0</em:minVersion>
<em:maxVersion>46.*</em:maxVersion>
</Description>
</em:targetApplication>


... then install.

riiis
Lunatic
Lunatic
Posts: 337
Joined: Sat, 17 May 2014, 15:51
Location: USA

Re: URL Cleanup Extensions for Pale Moon?

Postby riiis » Sat, 09 Dec 2017, 18:25

hujan86 wrote:Is there any extensions in the same vein as Neat URL, Lean URL, Pure URL that work with Pale Moon?

"Pure URL" is listed at the Pale Moon Known Incompatible Add-ons website, along with the workaround extension Redirect Remover. The "Known Incompatible Add-ons" website is a good resouce to check, before posting , for "Known Incompatible Add-ons". For me, "Redirect Remover" installed directly from AMO (Click "+ Add to Firefox" button). Thus, unlike "Redirect Bypasser", there will be no need to modify, beforehand, Redirect Remover's "install.rdf" file.

User avatar
gracious1
Astronaut
Astronaut
Posts: 721
Joined: Sun, 15 May 2016, 05:00
Location: bitterly cold upstate NY
Contact:

Re: URL Cleanup Extensions for Pale Moon?

Postby gracious1 » Sat, 09 Dec 2017, 18:43

hujan86 wrote:
jars_ wrote:Redirect Bypasser
just fix the version number in install.rdf.

Is it okay to edit "Firefox" to "Pale Moon"?


You can also use Moon Tester Tool, developed by a member of the Pale Moon team, to install this extension. It will make the necessary changes to the install.rdf for you.
Image "Silence is the sleep that nourishes wisdom" — Francis Bacon

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 1079
Joined: Thu, 03 Sep 2015, 19:47
Location: UA
Contact:

Re: URL Cleanup Extensions for Pale Moon?

Postby JustOff » Sat, 09 Dec 2017, 19:08

Off-topic:
gracious1 wrote:developed by a member of the Pale Moon team

Let me clarify, I'm just an ordinary participant of the Pale Moon community, and not a member of the Pale Moon team. The fact that I manage the browser localization as a coordinator also does not give me any official status, but only specific duties taken voluntarily.
Here are the add-ons I made in a spare time. That was fun!

Goodydino
Moon lover
Moon lover
Posts: 85
Joined: Tue, 10 Oct 2017, 21:20

Re: URL Cleanup Extensions for Pale Moon?

Postby Goodydino » Sat, 09 Dec 2017, 20:52

hujan86 wrote:
jars_ wrote:Redirect Bypasser
just fix the version number in install.rdf.

Is it okay to edit "Firefox" to "Pale Moon"?

That "Firefox" is a remark. It has markers around it to tell the software to ignore it. What needs to be changed are the ID number of the application and the min and max version numbers for the application. You can find a set of those things in any Pale Moon theme. Swapping those lines would work.

User avatar
back2themoon
Keeps coming back
Keeps coming back
Posts: 930
Joined: Sun, 19 Aug 2012, 20:32

Re: URL Cleanup Extensions for Pale Moon?

Postby back2themoon » Sat, 09 Dec 2017, 22:34

Some of the mentioned extensions are very old, shouldn't these type of extensions maintain some sort of updated list for their redirects? Or is it not relevant?
Safe Mode / clean profile info: Menu/Help/Restart with Add-ons Disabled
Information to include when asking for support - How to apply user agent overrides

Windows 10 Pro - Pale Moon x64 - FossaMail x64 - Emsisoft Anti-Malware

tooshorttoolong
Moonbather
Moonbather
Posts: 50
Joined: Mon, 11 Sep 2017, 14:28

Re: URL Cleanup Extensions for Pale Moon?

Postby tooshorttoolong » Sun, 10 Dec 2017, 19:39

fillerup wrote:i use clean links: https://github.com/diegocr/CleanLinks/releases

How do you install it?

I tried Redirect Bypasser but I don’t see how it can be made to clean URLs.

coffeebreak
Keeps coming back
Keeps coming back
Posts: 948
Joined: Sat, 26 Sep 2015, 04:51
Location: U.S.

Re: URL Cleanup Extensions for Pale Moon?

Postby coffeebreak » Sun, 10 Dec 2017, 23:42

tooshorttoolong wrote:
fillerup wrote:i use clean links: https://github.com/diegocr/CleanLinks/releases

How do you install it?

Here are a couple methods, either of which worked for me...

Alternative 1. As mentioned here: https://forum.palemoon.org/viewtopic.php?f=44&t=15769#p114602:

  • Download the source code zipped folder from /releases to a convenient location. This is essentially CleanLinks with a different file extension.
  • Unzip it with your preferred archiving software.
  • Inside that unzipped folder (CleanLinks-2.7.0) is a 2nd folder/directory of same name that contains the CleanLinks files. Those files will need to be in the root directory of the xpi for installing CleanLinks.
  • So open that 2nd directory, select all the files inside and send them to a new zipped folder. (In other words: DO NOT include the folder - ONLY ZIP UP ITS CONTENTS.)
  • Change the file extension of the newly created zipped folder from .zip to .xpi.
  • Install by dragging the xpi onto the add-ons manager (about:addons), or by clicking the gear at top of the add-ons manager page and selecting "Install Add-on From File...".

Alternative 2. Install using the extension XPICompiler:

  • As before... Download the CleanLinks source code zipped folder from /releases.
  • Install XPICompiler.
  • Put about:xpiler into the address bar, hit Enter. It provides an internal page with prompts to follow for making the downloaded zipped folder into a useable xpi for installing locally.
  • Install by dragging...etc., as above.

tooshorttoolong
Moonbather
Moonbather
Posts: 50
Joined: Mon, 11 Sep 2017, 14:28

Re: URL Cleanup Extensions for Pale Moon?

Postby tooshorttoolong » Mon, 11 Dec 2017, 13:43

Thanks Coffeebreak; I used the manual method, that was easy.

User avatar
hujan86
Apollo supporter
Apollo supporter
Posts: 37
Joined: Wed, 27 Sep 2017, 06:50

Re: URL Cleanup Extensions for Pale Moon?

Postby hujan86 » Thu, 14 Dec 2017, 06:16

I'm unsure how to configure the rules in Redirect Bypasser. So I opted to try Clean Links. Through trial & error, I found that the option Redirect Watcher & HTTP Observer must be enabled in order to clean all the links. So thanks so much, fillerup, JustOff & Coffeebreak.
GTribe is a shithole full of bigots, pretenders and liars.

Quaoar
Newbie
Newbie
Posts: 3
Joined: Mon, 20 Nov 2017, 00:41

Re: URL Cleanup Extensions for Pale Moon?

Postby Quaoar » Mon, 18 Dec 2017, 17:55

jars_ wrote:Redirect Bypasser
just fix the version number in install.rdf.

It doesn't seem to affect Google search links.

jars_
Moonbather
Moonbather
Posts: 72
Joined: Tue, 27 Dec 2016, 00:12

Re: URL Cleanup Extensions for Pale Moon?

Postby jars_ » Tue, 19 Dec 2017, 07:34

It doesn't seem to affect Google search links.

Of course. for Google, Yandex need special. ways.
for google GM script:

Code: Select all

// ==UserScript==
// @name       AntiGoogle
// @namespace  AntiGoogle
// @version    0.1.5
// @description  Skip redirection URL on Google search results.
// @include    /https?:\/\/www.google\.[^\/]+\/search.+/
// @include    /https?:\/\/google\.[^\/]+\/search.+/
// @copyright  yup, 2016
// @grant       none
// @run-at         document-start
// ==/UserScript==

function ClearLinks() {
  var links, i;

  links = document.getElementsByTagName("a");
  for (i = links.length-1; i >= 0 ; i--) {
    var link = links[i];
    if (link.hasAttribute("onmousedown")) {
      if (link.removeEventListener) {
        link.removeEventListener("mousedown", link.onmousedown, false);
      } else if(link.detachEvent) {
        link.detachEvent("onmousedown", link.onmousedown);
      }
      link.removeAttribute("onmousedown");
    }
    if (link.hasAttribute("onmouseup")) {
      if (link.removeEventListener) {
        link.removeEventListener("mouseup", link.onmouseup, false);
      } else if(link.detachEvent) {
        link.detachEvent("onmouseup", link.onmouseup);
      }
      link.removeAttribute("onmouseup");
    }
    if (link.hasAttribute("onclick")) {
      if (link.removeEventListener) {
        link.removeEventListener("click", link.click, false);
      } else if(link.detachEvent) {
        link.detachEvent("click", link.click);
      }
      link.removeAttribute("onclick");
    }

    if (link.href.indexOf("url?sa=") > -1)
      link.setAttribute("href", decodeURIComponent(link.href.split('&').filter(item => item.substr(0,4) == 'url=')[0].substring(4)))

  }

  links = document.getElementsByClassName("i3599");
  for (i = links.length-1; i >= 0 ; i--) links[i].removeAttribute("jsaction");

  links = document.getElementsByClassName("i3596");
  for (i = links.length-1; i >= 0 ; i--) links[i].removeAttribute("jsaction");

  setTimeout(ClearLinks, 2000);
};
setTimeout(ClearLinks, 20);


for google + yandex GM script Remove_Fake_Links · Infocatcher


Return to “Browser extensions”

Who is online

Users browsing this forum: No registered users and 4 guests