Eclipsed Moon bug

Add-ons for Pale Moon and other UXP Applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: Lootyhoof, FranklinDM

BZZZZ

Eclipsed Moon bug

Unread post by BZZZZ » 2021-11-29, 16:51

https://addons.palemoon.org/addon/eclipsedmoon/

open https://example.com/ and run

Code: Select all

Function.prototype.toString.call(window.onunload)
in console

you will see

Code: Select all

"function () {
    [native code]
}"
but web page didn't set window.onunload

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 31295
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Eclipsed Moon bug

Unread post by Moonchild » 2021-11-29, 17:10

Why are you doing these things? What is your purpose of running the code you do in the console?
Why do you think an extension adding an onunload function to the window object is a "bug"? Don't you think it might actually be part of its functioning?
"Remember, only you can prevent Earth's destruction by spelling Pale Moon with a space." -- Athenian200
Image

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 10670
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: Eclipsed Moon bug

Unread post by New Tobin Paradigm » 2021-11-29, 17:27

This person is obviously a content shit poster and offers no constructive contribution to the world at large.

Get the flyswatter, Moonchild.
He tasks me. He tasks me and I shall have him.
I'll chase him round the moons of Nibia and round the Antares maelstrom and round perdition's flames before I give him up.. Prepare to alter course.

Image
binaryoutcast.compaypal.me/mattatobinthereisonlyxul.org

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 31295
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Eclipsed Moon bug

Unread post by Moonchild » 2021-11-29, 17:45

Well I expect an answer to my questions before swatting.
"Remember, only you can prevent Earth's destruction by spelling Pale Moon with a space." -- Athenian200
Image

BZZZZ

Re: Eclipsed Moon bug

Unread post by BZZZZ » 2021-11-29, 18:49

Moonchild wrote:
2021-11-29, 17:10
Why are you doing these things? What is your purpose of running the code you do in the console?
Why do you think an extension adding an onunload function to the window object is a "bug"? Don't you think it might actually be part of its functioning?
I think it's bug because window.onunload function is not correctly exported to window (try running window.onunload.call)

also code can run in <script> tag in web page (I say to run code in console because it's easier than hosting html file on server)

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 31295
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Eclipsed Moon bug

Unread post by Moonchild » 2021-11-29, 20:59

You didn't answer my questions.
"Remember, only you can prevent Earth's destruction by spelling Pale Moon with a space." -- Athenian200
Image

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

Re: Eclipsed Moon bug

Unread post by moonbat » 2021-11-29, 23:34

I think we're dealing with a kid here. Forum is off limits to non adults as I gather.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

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

User avatar
gepus
Astronaut
Astronaut
Posts: 640
Joined: 2017-12-14, 12:59

Re: Eclipsed Moon bug

Unread post by gepus » 2021-11-30, 08:06

I think the OP realized that the extension doesn't work anymore (since the underlying code was changed ...).

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

Re: Eclipsed Moon bug

Unread post by moonbat » 2021-11-30, 08:47

Either way, it is for the extension author to answer queries and OP should contact them.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

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

BZZZZ

Re: Eclipsed Moon bug

Unread post by BZZZZ » 2021-11-30, 13:44

Moonchild wrote:
2021-11-29, 20:59
You didn't answer my questions.
Why are you doing these things?: I don't know where to report bug.

What is your purpose of running the code you do in the console?: To show what is wrong with extension.

Don't you think it might actually be part of its functioning?: Yes it's part of extension functioning but web page can also set window.onunload and might break extension.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 10670
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: Eclipsed Moon bug

Unread post by New Tobin Paradigm » 2021-11-30, 15:36

How old are you?
He tasks me. He tasks me and I shall have him.
I'll chase him round the moons of Nibia and round the Antares maelstrom and round perdition's flames before I give him up.. Prepare to alter course.

Image
binaryoutcast.compaypal.me/mattatobinthereisonlyxul.org

User avatar
Admin
Site Admin
Site Admin
Posts: 376
Joined: 2012-05-17, 19:06

Re: Eclipsed Moon bug

Unread post by Admin » 2021-11-30, 16:25

User account removed for not fulfilling the minimum required age for participation.
Did you know that moral outrage triggers the pleasure centers of the brain? It's unlikely you can actually get addicted to outrage, but there is plausible evidence that you can become strongly predisposed to it.
Source: https://www.bbc.co.uk/programmes/p002w557/episodes/downloads - "The cooperative species" and "Behaving better online"
Image

Locked