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.
Post Reply
JujuLand
Moongazer
Moongazer
Posts: 13
Joined: 2017-04-26, 08:08

Palemoon doesn't work on a webpage

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
Board Warrior
Board Warrior
Posts: 1686
Joined: 2018-05-05, 13:29

Re: Palemoon doesn't work on a webpage

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: 881
Joined: 2012-09-04, 15:19
Location: Atlanta Georgia USA

Re: Palemoon doesn't work on a webpage

Post by billmcct » 2021-04-04, 01:15

Not a vote.
Attachments
screenshot.8.jpg

Happy Pale Moon 29.x.x 32bit user on Win 7 x64 and Win 8.1 x64.

But hey y'all, I still ride everywhere with my "Chumpy Bear."

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

Re: Palemoon doesn't work on a webpage

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
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
Moonraker
Board Warrior
Board Warrior
Posts: 1766
Joined: 2015-09-30, 23:02
Location: uk.

Re: Palemoon doesn't work on a webpage

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.
Xenial puppy linux 32-bit.

Pale moon 29.0.0.

JujuLand
Moongazer
Moongazer
Posts: 13
Joined: 2017-04-26, 08:08

Re: Palemoon doesn't work on a webpage

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
Moongazer
Moongazer
Posts: 13
Joined: 2017-04-26, 08:08

Re: Palemoon doesn't work on a webpage

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
Moongazer
Moongazer
Posts: 13
Joined: 2017-04-26, 08:08

Re: Palemoon doesn't work on a webpage

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: 15
Joined: 2017-07-14, 09:49

Re: Palemoon doesn't work on a webpage

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: 30216
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Palemoon doesn't work on a webpage

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.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

JujuLand
Moongazer
Moongazer
Posts: 13
Joined: 2017-04-26, 08:08

Re: Palemoon doesn't work on a webpage

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
Hobby Astronomer
Hobby Astronomer
Posts: 28
Joined: 2020-06-16, 13:29

Re: Palemoon doesn't work on a webpage

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
Moongazer
Moongazer
Posts: 13
Joined: 2017-04-26, 08:08

Re: Palemoon doesn't work on a webpage

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: 302
Joined: 2017-01-14, 02:40
Location: Manila, Philippines
Contact:

Re: Palemoon doesn't work on a webpage

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
Hobby Astronomer
Hobby Astronomer
Posts: 28
Joined: 2020-06-16, 13:29

Re: Palemoon doesn't work on a webpage

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: 30216
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Palemoon doesn't work on a webpage

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.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

Post Reply