DNB.no - Unable to log in

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

DNB.no - Unable to log in

Unread post by Tomaso » 2021-08-25, 09:52

Issue:
https://www.dnb.no/ has just updated their site, and users are now unable to log in with Pale Moon.
Clicking on "Logg inn" (in the top right corner) fails to bring up the log in dialog.

Console error:

Code: Select all

Content Security Policy: Couldn’t process unknown directive ‘prefetch-src’
Note:
I ran Mozregression, and came up with the dreaded "Enable Stylo by default"-range, which most likely makes it irrelevant for Pale Moon, I guess.
Any idea as to what might be causing this issue?

--

EDIT1:
The login modal DOES appear in Pale Moon, but simply ends up being hidden beneath other elements!
I've seen this happen on a bunch of other sites too.
Perhaps because of the same issue that was described by Moonchild here?:
viewtopic.php?f=70&t=25328&start=20#p202976

--

EDIT2:
After having messed around with it, for quite some time, I came up with this workaround for uBO:

Code: Select all

dnb.no##.dnb-modal__overlay:style(z-index: -1 !important;)
dnb.no###dnb-modal-root:style(z-index: 9999 !important;)

User avatar
biopsin
Fanatic
Fanatic
Posts: 119
Joined: 2016-02-07, 17:15

Re: DNB.no - Unable to log in

Unread post by biopsin » 2021-08-25, 16:45

Yea noticed it to last couple of days.
I have earlier complained to dem about that SPAN thingy as it blocks any payment when logged in as company,
CS told me to chat and blamed BankID, but its their fault and now they have ported their stupidity to the login window too,
fk'em Im switching bank.. :twisted:

By the way if you zoom back enough i get the login field and I can type my details, then it takes me to the BankID signin..
Attachments
21-08-25--1629909683_1592x1313_scrot.png
voidlinux_x64 glibc-2.38 / Palemoon_latest release (gcc-13.2.0) / GTK2

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: DNB.no - Unable to log in

Unread post by Tomaso » 2021-08-25, 16:55

@biopsin:
Are you using uBO?
If so, could you check if the workaround (in my previous post) "fixes" the payment issue too?

User avatar
biopsin
Fanatic
Fanatic
Posts: 119
Joined: 2016-02-07, 17:15

Re: DNB.no - Unable to log in

Unread post by biopsin » 2021-08-25, 16:58

Unfortunately no, however I'm gonna try override it with userContent.css

or just use the url :

Code: Select all

https://www.dnb.no/loggut
voidlinux_x64 glibc-2.38 / Palemoon_latest release (gcc-13.2.0) / GTK2

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: DNB.no - Unable to log in

Unread post by Tomaso » 2021-08-25, 17:21

Yeah, I noticed that some of their subpages still uses the old design.
Here's another one:
https://www.dnb.no/om-oss/

I suspect that it won't be long until those pages have been updated too though.

User avatar
biopsin
Fanatic
Fanatic
Posts: 119
Joined: 2016-02-07, 17:15

Re: DNB.no - Unable to log in

Unread post by biopsin » 2021-08-25, 17:35

Narrowed it down to this element, only need to push it above or anything else back.
Your workaround gave me clues, thank you

EDIT removed pic, its on a layer before.. geez their css regenerates hahaha no cant do it this way..
at least that gray overlay can be ignored

Code: Select all

.dnb-modal__overlay {display: none !Important}
Yep this solves atleast payment thru company loggin !!
voidlinux_x64 glibc-2.38 / Palemoon_latest release (gcc-13.2.0) / GTK2

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: DNB.no - Unable to log in

Unread post by Tomaso » 2021-08-25, 18:24

biopsin wrote:
2021-08-25, 17:35
at least that gray overlay can be ignored
Yeah, I blocked it at first too, but changed my mind when discovering that it could be pushed back to a proper position with 'z-index: -1'.
###dnb-modal-root also needs to be brought further in front though, at least for normal log in (although the value that I used to achieve it is unnecessarily high, of course).

User avatar
biopsin
Fanatic
Fanatic
Posts: 119
Joined: 2016-02-07, 17:15

Re: DNB.no - Unable to log in

Unread post by biopsin » 2021-08-25, 18:26

If I run into trouble, I will go with your sane solution :D
the dnb-modal-root did nothing for me, but let me try again.. nope does nothing for me
voidlinux_x64 glibc-2.38 / Palemoon_latest release (gcc-13.2.0) / GTK2

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: DNB.no - Unable to log in

Unread post by Tomaso » 2021-08-25, 18:31

biopsin wrote:
2021-08-25, 18:26
the dnb-modal-root did nothing for me
Remember that it is a ID, not a CLASS.

User avatar
biopsin
Fanatic
Fanatic
Posts: 119
Joined: 2016-02-07, 17:15

Re: DNB.no - Unable to log in

Unread post by biopsin » 2021-08-25, 18:37

:oops: it does now

Code: Select all

@-moz-document domain(dnb.no) {
	.dnb-modal__overlay {display: none !Important}
	#dnb-modal-root {z-index: 999 !Important}
}
@Tomaso thank you for your help!
voidlinux_x64 glibc-2.38 / Palemoon_latest release (gcc-13.2.0) / GTK2

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: DNB.no - Unable to log in

Unread post by Tomaso » 2021-08-25, 18:41

No problem.
Glad that I discovered this trick.
The same method can be used on other sites, e.g. @ vg.no, to bring ###global-navigation (the menu triggered by the hamburger menu, in the top right corner) to the front!

User avatar
biopsin
Fanatic
Fanatic
Posts: 119
Joined: 2016-02-07, 17:15

Re: DNB.no - Unable to log in

Unread post by biopsin » 2021-08-25, 18:51

So howto approach DnB with this overrride nonsens?
voidlinux_x64 glibc-2.38 / Palemoon_latest release (gcc-13.2.0) / GTK2

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: DNB.no - Unable to log in

Unread post by Tomaso » 2021-08-25, 19:05

biopsin wrote:
2021-08-25, 18:51
So howto approach DnB with this overrride nonsens?
I've already pointed it out to them, over the phone, earlier today.
I also confronted them with their use of third-party trackers, which really doesn't belong on a bank site (the worst one being Adobe Tag Manager, which actually has to be allowed, in order for the site to function properly)!
The woman that I spoke to said that she would convey my message to the right people, but judging from my dealings with those people in the past, I doubt that anything will happen!
You should report the issue too, and perhaps refer to this thread..
If more people actually report these type of issues, there's a higher probability that they actually might look into things!
Last edited by Tomaso on 2021-08-25, 19:06, edited 1 time in total.

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

Re: DNB.no - Unable to log in

Unread post by Moonchild » 2021-08-25, 19:05

biopsin wrote:
2021-08-25, 18:51
So howto approach DnB with this overrride nonsens?
Call them?
"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
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35478
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: DNB.no - Unable to log in

Unread post by Moonchild » 2021-08-25, 19:06

Tomaso wrote:
2021-08-25, 19:05
The woman that I spoke to said that she would convey my message to the right people, but judging from my dealings with those people in the past, I doubt that anything will happen!
I've found that in many cases this needs some persistence. they won't act on a single report, but if they get more than a few calls in a week about it, it'll get their attention.
"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
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: DNB.no - Unable to log in

Unread post by Tomaso » 2021-08-25, 19:17

Tomaso wrote:
2021-08-25, 19:05
I've already pointed it out to them, over the phone, earlier today.
It should be noted that this was before I started this thread, so I only told them that their new login window didn't appear in my main browser.
If you contact them again, biopsin, you can now tell them exactly where the problem lies!

User avatar
biopsin
Fanatic
Fanatic
Posts: 119
Joined: 2016-02-07, 17:15

Re: DNB.no - Unable to log in

Unread post by biopsin » 2021-08-25, 19:45

I pointed this out to CS in january, yet their frontdesk is unable to relay it properly.
I've sent them again a reply on my ticket couple of days ago about the problem,
lets see what their respond will turn out to be..
voidlinux_x64 glibc-2.38 / Palemoon_latest release (gcc-13.2.0) / GTK2

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: DNB.no - Unable to log in

Unread post by Tomaso » 2021-08-25, 20:12

biopsin wrote:
2021-08-25, 19:45
lets see what their respond will turn out to be..
My guess would be something like "we recommend using Google Chrome"!

User avatar
biopsin
Fanatic
Fanatic
Posts: 119
Joined: 2016-02-07, 17:15

Re: DNB.no - Unable to log in

Unread post by biopsin » 2021-08-25, 21:08

Haha yeah, I've not mentioned what browser I use and they have'nt asked,
they live off my money and Im not asking much in return.
voidlinux_x64 glibc-2.38 / Palemoon_latest release (gcc-13.2.0) / GTK2

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: DNB.no - Unable to log in

Unread post by Tomaso » 2021-09-03, 19:37

My workaround for dnb.no has been added to uBO's Legacy filter (along with the ones for vg.no and windfinder.com):
https://github.com/uBlockOrigin/uAssets ... 098d226d29
https://github.com/uBlockOrigin/uAssets ... 282bfb1821
uBO users can simply update their filters to get it.

Locked