Palemoon doesn't work on a webpage

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
JujuLand
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2017-04-26, 08:08

Palemoon doesn't work on a webpage

Unread post by JujuLand » 2021-04-03, 19:22

Palemoon 29.1.1 Linux doesn't work correctly on this page :

https://eau.vote/voter/

Javascript ?

Thanks
A+

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2181
Joined: 2018-05-05, 13:29

Re: Palemoon doesn't work on a webpage

Unread post by vannilla » 2021-04-03, 22:49

What doesn't work, exactly?
I can display the page just fine, for example.
Not knowing french, though, I didn't interact with it, especially since it appears to be a site to vote for something and I don't want to vote for something I don't know anything about.

User avatar
billmcct
Keeps coming back
Keeps coming back
Posts: 951
Joined: 2012-09-04, 15:19
Location: Costa Rica & Union City Georgia USA

Re: Palemoon doesn't work on a webpage

Unread post by billmcct » 2021-04-04, 01:15

Not a vote.
Attachments
screenshot.8.jpg
--------------------------------------------------------------------------------------------------------------
The difference between the Impossible and the Possible lies in a man's Determination.
Tommy Lasorda

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

Re: Palemoon doesn't work on a webpage

Unread post by Moonchild » 2021-04-04, 07:33

Code: Select all

09:32:40.922 SyntaxError: import declarations may only appear at top level of a module 1 frontend.min.js:2:61612
"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
Moonraker
Board Warrior
Board Warrior
Posts: 1878
Joined: 2015-09-30, 23:02
Location: uk.

Re: Palemoon doesn't work on a webpage

Unread post by Moonraker » 2021-04-04, 07:41

vannilla wrote:
2021-04-03, 22:49
What doesn't work, exactly?
I can display the page just fine, for example.
Not knowing french, though, I didn't interact with it, especially since it appears to be a site to vote for something and I don't want to vote for something I don't know anything about.
identity page displays just fine but i couldn't proceed to the next page.
user of multiple puppy linuxes..upup,fossapup.scpup,xenialpup..... :thumbup:

Pale moon 29.4.1

JujuLand
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2017-04-26, 08:08

Re: Palemoon doesn't work on a webpage

Unread post by JujuLand » 2021-04-05, 12:32

Yes, that's the problem ...
Choosing 'Je suis inscrit.e', don't allow to continue

It works correctly with Firefox 87.0

Thanks
A+

JujuLand
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2017-04-26, 08:08

Re: Palemoon doesn't work on a webpage

Unread post by JujuLand » 2021-04-09, 14:37

HI,
Palemoon failed on opening a popup for the birthday, and if I enter a date manually, the button 'Continuer' doesn't work

A+

JujuLand
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2017-04-26, 08:08

Re: Palemoon doesn't work on a webpage

Unread post by JujuLand » 2021-04-18, 14:32

Now, the votation is closed, but there are other problems:
  • Clicking on 'Tableau des résultats détraillés'
or
  • clicking on 'Vérifier mon vote'
don't work.

They display the actual page !!!

So, I think again it's a javascript problem with palemoon ... as it works with Firefox

Thanks
A+

wickedsp1d3r
Hobby Astronomer
Hobby Astronomer
Posts: 24
Joined: 2017-07-14, 09:49

Re: Palemoon doesn't work on a webpage

Unread post by wickedsp1d3r » 2021-05-02, 11:35

The similar error occurs also on this page and the page is heavily broken.
https://ylilauta.org/

Code: Select all

SyntaxError: import declarations may only appear at top level of a module

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

Re: Palemoon doesn't work on a webpage

Unread post by Moonchild » 2021-05-02, 12:06

Well, the problem is clear.

Import declarations may only appear at top level of a module.
The webmaster can fix this.
"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

JujuLand
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2017-04-26, 08:08

Re: Palemoon doesn't work on a webpage

Unread post by JujuLand » 2021-05-02, 13:18

Humm,

I don't think it's the same problem as wickedsp1d3r told, as I haven't any error or warning when launching palemoon from a terminal ...

Was the answer for me also ?

A+

User avatar
opus_27
Apollo supporter
Apollo supporter
Posts: 36
Joined: 2020-06-16, 13:29

Re: Palemoon doesn't work on a webpage

Unread post by opus_27 » 2021-05-02, 15:41

JujuLand wrote:
2021-05-02, 13:18
I don't think it's the same problem as wickedsp1d3r told, as I haven't any error or warning when launching palemoon from a terminal ...

Was the answer for me also ?
Most likely yes, since Moonchild detected the same error early on: see his first post in this thread (the third after your original post). It's not ordinarily the LInux terminal where you'd look for the error, but the Pale Moon Error Console or Web Console.

JujuLand
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2017-04-26, 08:08

Re: Palemoon doesn't work on a webpage

Unread post by JujuLand » 2021-05-02, 16:14

ok, thanks for the answer.

I didn't know how to find errors.
But it doesn't explain why firefox works ...

A+

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 570
Joined: 2017-01-14, 02:40
Location: Philippines
Contact:

Re: Palemoon doesn't work on a webpage

Unread post by FranklinDM » 2021-05-02, 16:28

wickedsp1d3r wrote:
2021-05-02, 11:35
The similar error occurs also on this page and the page is heavily broken.
https://ylilauta.org/

Code: Select all

SyntaxError: import declarations may only appear at top level of a module
Likely Issue #1691 (UXP). The offending code isn't minified and the surrounding code of yboard.js:108:4 is:

Code: Select all

// Board page (posts/threads)
if (document.querySelector('.board, .post, .thread')) {
    import('./Module/Board.js').then((module) => {
        new module.Board();
    }).catch(moduleLoadError);
}

User avatar
opus_27
Apollo supporter
Apollo supporter
Posts: 36
Joined: 2020-06-16, 13:29

Re: Palemoon doesn't work on a webpage

Unread post by opus_27 » 2021-05-02, 16:41

JujuLand wrote:
2021-05-02, 16:14
ok, thanks for the answer.

I didn't know how to find errors.
But it doesn't explain why firefox works ...
Two possibilities:
  1. Firefox overlooks the error, or
  2. Firefox receives a different version of the code, in which the error does not occur
Also, if/when Issue #1691, noted by FranklinDM, is resolved, Pale Moon may work as desired.

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

Re: Palemoon doesn't work on a webpage

Unread post by Moonchild » 2021-05-02, 20:26

opus_27 wrote:
2021-05-02, 16:41
Also, if/when Issue #1691, noted by FranklinDM, is resolved, Pale Moon may work as desired.
I'm hoping this will be a when, not an if, and that people will actually help out getting these outstanding issues resolved. While Pale Moon may be my browser, this is platform stuff that benefits all users of it (including all alternatives, forks and other applications) and I can't possibly do everything myself, which it has come down to again in the past few months. Development of a community project needs community involvement.
"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

Locked