Bookmarklets causing PM to lock up

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
newbie123pm
Moongazer
Moongazer
Posts: 14
Joined: 2021-05-21, 00:02

Bookmarklets causing PM to lock up

Unread post by newbie123pm » 2022-11-23, 08:40

Operating system: Windows 10
Browser version: 31.4.0
32-bit or 64-bit browser?: 32
Problem URL: n/a (Bookmarklet Javascript:)
Browser theme (if not default):
Installed add-ons: (I don't know how to get a list of these)
Installed plugins: (about:plugins): (I don't know how to get a list of these)

If possible, please include the output of help->troubleshooting information (as text):
**PASTE troubleshooting information here**
I don't know if this is the correct forum to post this in.

I have two bookmarklets and both of them sometimes or usually cause PM to lock up.

The first one was the worst offender, and the second one always worked, but now is mostly causing the same problem as of a month or so ago.
It must be some kind of internal bug, because they are simple Javascript bookmarklets.

Both of them open up a URL in a new tab, which is pretty simple.
Here is the one that has now stopped working.

Code: Select all

javascript:(function(){window.open('http://www.xyzombie.com/BM/googleadvanced.html');})()
and here it is expanded out for readability:

Code: Select all

javascript:
(
function()
{
window.open('http://www.xyzombie.com/BM/googleadvanced.html');
}
)
()
I moved the HTML to another server as in the link above to see if that would cause it to act differently. I'll let you know.
(I don't know why moving it to another server would make a difference)

Afaik, it has nothing to do with the HTML/website being loaded, since it also happens with the other bookmarklet, which does something similar to Dictionary.com.

Has anyone heard of this or experienced it? This bookmarklet has worked for YEARS until recently.
And the Dictionary.com one also worked for years before it started acting up years ago.

When I click on the bookmarklet, nothing happens and if I try to click on another tab or anything like that the cursor turns into the blue twirly busy icon and I have to do a Ctrl-Alt-Delete Task Manager End Task of Pale Moon.

User avatar
newbie123pm
Moongazer
Moongazer
Posts: 14
Joined: 2021-05-21, 00:02

Re: Bookmarklets causing PM to lock up

Unread post by newbie123pm » 2022-11-24, 07:30

Worked a few times yesterday, and just locked up Pale Moon again.

User avatar
karlkracher
Fanatic
Fanatic
Posts: 129
Joined: 2015-12-05, 17:40
Location: berlin / germany

Re: Bookmarklets causing PM to lock up

Unread post by karlkracher » 2022-11-24, 14:56

Just wondering why you use this construct for opening a webpage instead saving the page directly in a normal bookmark ... :?

User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 782
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Bookmarklets causing PM to lock up

Unread post by jobbautista9 » 2022-11-24, 15:36

Can't reproduce your problem here. Have you tried using a fresh profile? Also please provide the troubleshooting information. From the menu bar go to Help => Troubleshooting Information, click on "copy all text to clipboard", then paste into a "hide" block all the contents copied.
Image

merry mimas

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817

Image

User avatar
newbie123pm
Moongazer
Moongazer
Posts: 14
Joined: 2021-05-21, 00:02

Re: Bookmarklets causing PM to lock up

Unread post by newbie123pm » 2022-11-28, 08:33

karlkracher wrote:
2022-11-24, 14:56
Just wondering why you use this construct for opening a webpage instead saving the page directly in a normal bookmark ... :?
I originally did it this way to make it open in its own new tab.

But now either PM or Tab Mix Plus opens them in a new tab.
So I changed it to an URL and it works.

The Dictionary.com one looks for selected text and uses it as a default to a word you can enter in a Prompt that it passes to Dictionary.com.

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

Re: Bookmarklets causing PM to lock up

Unread post by moonbat » 2022-12-01, 02:04

newbie123pm wrote:
2022-11-28, 08:33
I originally did it this way to make it open in its own new tab.
Middleclicking with the mouse (assuming you are using one), will do that for any link or bookmark. Also works by setting your laptop trackpad to emulate a middle mouse button via its own buttons or by some tap/gesture combination. If you use Tab Mix Plus you can explicitly customize this behavior.
"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

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Bookmarklets causing PM to lock up

Unread post by Moonchild » 2022-12-01, 14:57

moonbat wrote:
2022-12-01, 02:04
Middleclicking with the mouse
If you don't have a middle button, then Ctrl+click on a bookmark will also open it in a new tab. Shift+click for a new window.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
therube
Board Warrior
Board Warrior
Posts: 1650
Joined: 2018-06-08, 17:02

Re: Bookmarklets causing PM to lock up

Unread post by therube » 2022-12-01, 17:29

it also happens with the other bookmarklet
PM should not be locking up due to a ("simple" as you've shown, or some "dictionary") bookmarklet.

And with that, see jobbautista9's post.


Also, test in the newly updated (32-bit) 31.4.1.1, since you are using 32-bit.
(Though you are on 10, & those seeing issues were on 7.)

Locked