How to install scripts

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
PM-user
Moonbather
Moonbather
Posts: 52
Joined: 2020-11-30, 03:22

How to install scripts

Unread post by PM-user » 2022-10-02, 17:46

Can't find the basic way of installing a script in PM, such as the greasemonkey bitchute script. Can anyone posts a link or the steps to do it?

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2104
Joined: 2012-08-19, 20:32

Re: How to install scripts

Unread post by back2themoon » 2022-10-02, 18:56

Press "Install this script"? Have you installed Greasemonkey first?

Install script.png

Goodydino
Keeps coming back
Keeps coming back
Posts: 763
Joined: 2017-10-10, 21:20

Re: How to install scripts

Unread post by Goodydino » 2022-10-02, 19:29

If you want to add a script manually if you wrote or edited it, that is a real hassle. It will be named user-script, regardless of what name you gave it and the only way to rename it back to what it should be is to go into the profile, to gm_scripts and rename its folder and itself, then rename it everywhere it is named in config.xml.
Removing a script you do not want any more is also a hassle. You have to remove it from gm_scripts in the profile and remove its listing from config.xml.

_yuyu_
Fanatic
Fanatic
Posts: 248
Joined: 2015-03-02, 14:18

Re: How to install scripts

Unread post by _yuyu_ » 2022-10-02, 20:13

Goodydino wrote:
2022-10-02, 19:29
Why not do all that in the user script manager in Greasemonkey?
Pale Moon 32-bit on Win 7 x64

User avatar
PM-user
Moonbather
Moonbather
Posts: 52
Joined: 2020-11-30, 03:22

Re: How to install scripts

Unread post by PM-user » 2022-10-02, 21:50

"Press "Install this script"? Have you installed Greasemonkey first?"

I've not done anything yet. I was looking at at the code on

viewtopic.php?p=231569#p231569

but did not see an install button.

User avatar
Kris_88
Lunatic
Lunatic
Posts: 365
Joined: 2021-01-26, 11:18

Re: How to install scripts

Unread post by Kris_88 » 2022-10-02, 22:34

You should install Greasemonkey first.
https://github.com/janekptacijarabaci/g ... Branch.xpi

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2104
Joined: 2012-08-19, 20:32

Re: How to install scripts

Unread post by back2themoon » 2022-10-02, 22:36

You can't install a Greasemonkey script without Greasemonkey (or similar).

Install Greasemonkey for Pale Moon (click on greasemonkey-3.31.4-pm_forkBranch.xpi - it is NOT the one on top)

There's an issue here. GitHub doesn't work properly on Pale Moon and you won't be able to install Greasemonkey from that page. Two solutions:

a) Install the Palefill Web Technologies Polyfill extension (top-right Install button). GitHub will then work (and some other broken websites as well).
b) Install Greasemonkey from this Github direct link (no need for the Palefill extension): Greasemonkey for Pale Moon 3.31.4

Visit Greasy Fork and you will now see the Install button. I do not know if the Greasy Fork script is the same as the one you linked to (posted by Kris_88 here on the forum). If it isn't and you want to install it manually from the provided code:

'Select all' code and copy it.
Use the Gresemonkey toolbar icon (or Pale Moon menu/Tools/Greasemonkey) to select "New User Script..."
Press "Use Script From Clipboard" and that's it. A pop-up should appear displaying the script's code and you can close it.
Verify if the script it installed in the Add-ons Manager (User Scripts section).

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4161
Joined: 2015-12-09, 15:45
Contact:

Re: How to install scripts

Unread post by moonbat » 2022-10-03, 02:25

back2themoon wrote:
2022-10-02, 22:36
GitHub doesn't work properly on Pale Moon and you won't be able to install Greasemonkey from that page
Or use another browser to access Github if you're in a rush.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Goodydino
Keeps coming back
Keeps coming back
Posts: 763
Joined: 2017-10-10, 21:20

Re: How to install scripts

Unread post by Goodydino » 2022-10-03, 18:47

_yuyu_ wrote:
2022-10-02, 20:13
Goodydino wrote:
2022-10-02, 19:29
Why not do all that in the user script manager in Greasemonkey?
That will not let me rename the script. Also, removing a script seems to work until I restart, then it is back again.
Incidentally, Greasemonkey 3.31.4 for Pale Moon will not install. I am stuck with version 3.17.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4161
Joined: 2015-12-09, 15:45
Contact:

Re: How to install scripts

Unread post by moonbat » 2022-10-04, 00:00

Goodydino wrote:
2022-10-03, 18:47
Incidentally, Greasemonkey 3.31.4 for Pale Moon will not install.
Why not, and what error do you get? Assuming you're also on the latest version of PM.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Goodydino
Keeps coming back
Keeps coming back
Posts: 763
Joined: 2017-10-10, 21:20

Re: How to install scripts

Unread post by Goodydino » 2022-10-04, 18:07

I am using White Star, which is Pale Moon for Mac. It is the latest version. I get no error message, but the extension simply will not appear in the addons list. Now that I have found out how to rename manually added scripts and how to remove unwanted scripts, I can do it that way.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4161
Joined: 2015-12-09, 15:45
Contact:

Re: How to install scripts

Unread post by moonbat » 2022-10-05, 01:30

Goodydino wrote:
2022-10-04, 18:07
I am using White Star, which is Pale Moon for Mac.
If I'm right, Mac support is being added back with dbsoft's help, so hopefully in future you'll be able to use the regular build. Assuming that it follows the same versioning system as PM, strange that the extension doesn't work.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Goodydino
Keeps coming back
Keeps coming back
Posts: 763
Joined: 2017-10-10, 21:20

Re: How to install scripts

Unread post by Goodydino » 2022-10-06, 20:06

I was finally able to install the newer Greasemonkey. I had only disabled the older version but not removed it. Supposedly, that was why the new one would not install. I still have to rename manually added scripts in the profile, but the proper name appears in the list of scripts now. I cannot have all the scripts I write called "user-script.user.js", now, can I? I no longer have to go into the profile to remove a script.

Post Reply