M&T Bank login page shows white screen Topic is solved

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.
Sessh
Fanatic
Fanatic
Posts: 247
Joined: 2018-01-11, 18:43

M&T Bank login page shows white screen

Post by Sessh » 2025-09-27, 14:00

Windows 7. PM version 33.9.0.1

M&T Bank login page shows white screen. I was actually coming to say that the Login button on this page stopped working two versions ago (nothing would happen when you clicked it and therefore could not log in), but now it just loads a white page. Checked with Clean Profile too.
https://login.mtb.com/a/digitalbanking/ ... uage=en-US

Code: Select all

Syntax error: await is a reserved identifier

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

Re: M&T Bank login page shows white screen

Post by Moonchild » 2025-09-27, 14:24

Probably something changed on their end now requiring support for top-level await Issue #2229 (UXP)
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"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
adoxa
Astronaut
Astronaut
Posts: 520
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: M&T Bank login page shows white screen

Post by adoxa » 2025-09-27, 14:38

Here's a Modify HTTP Response filter to work around it (at least, it displays the login page, whether it will work after that is another matter; atm it's probably also particular to the current script version).

Code: Select all

[["login.mtb.com",["/index-.*\\.js$/",["f5=await ","f5=","xa.use(f5);xa.use(u5);xa.mount(\"#app\");Qc().init(!0,p5)","f5.then(x=>(xa.use(x),xa.use(u5),xa.mount(\"#app\"),Qc().init(!0,p5)))"]]]]

Sessh
Fanatic
Fanatic
Posts: 247
Joined: 2018-01-11, 18:43

Re: M&T Bank login page shows white screen

Post by Sessh » 2025-09-27, 16:13

adoxa wrote:
2025-09-27, 14:38
Here's a Modify HTTP Response filter to work around it (at least, it displays the login page, whether it will work after that is another matter; atm it's probably also particular to the current script version).

Code: Select all

[["login.mtb.com",["/index-.*\\.js$/",["f5=await ","f5=","xa.use(f5);xa.use(u5);xa.mount(\"#app\");Qc().init(!0,p5)","f5.then(x=>(xa.use(x),xa.use(u5),xa.mount(\"#app\"),Qc().init(!0,p5)))"]]]]
I'm using the "Intercept & Modify HTTP Response" add-on (using Modify HTTP Response always gives me an error when I try to paste a new entry onto the end including yours) and I think I put all the info in right. Is this right?
Clipboard01.png
I'm assuming it's not because it doesn't work. :)
You do not have the required permissions to view the files attached to this post.

User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3006
Joined: 2012-08-19, 20:32

Re: M&T Bank login page shows white screen

Post by back2themoon » 2025-09-27, 18:25

Sessh wrote:
2025-09-27, 16:13
I'm using the "Intercept & Modify HTTP Response" add-on
That extension has a conversion function. Right-click on its toolbar button→Convert... and paste adoxa's code.

You will then get the converted filter in the clipboard. Then: right-click→Add Filters...

Just tried it, the page loads (it takes some time). What you entered in there is wrong, you need to delete it first.

Sessh
Fanatic
Fanatic
Posts: 247
Joined: 2018-01-11, 18:43

Re: M&T Bank login page shows white screen

Post by Sessh » 2025-09-27, 18:59

back2themoon wrote:
2025-09-27, 18:25
Sessh wrote:
2025-09-27, 16:13
I'm using the "Intercept & Modify HTTP Response" add-on
That extension has a conversion function. Right-click on its toolbar button→Convert... and paste adoxa's code.

You will then get the converted filter in the clipboard. Then: right-click→Add Filters...

Just tried it, the page loads (it takes some time). What you entered in there is wrong, you need to delete it first.
Ah thanks. It's been awhile since I entered anything into it and forgot about that. Works now. Can even login. Thanks! (adoxa too!)

Sessh
Fanatic
Fanatic
Posts: 247
Joined: 2018-01-11, 18:43

Re: M&T Bank login page shows white screen

Post by Sessh » 2025-11-01, 16:46

Ok so, now a new error is there visiting this page in a clean profile:
https://login.mtb.com/a/digitalbanking/ ... uage=en-US
Clipboard01.jpg
Any way around that one?
You do not have the required permissions to view the files attached to this post.

User avatar
Nigaikaze
Board Warrior
Board Warrior
Posts: 1340
Joined: 2014-02-02, 22:15
Location: Chicagoland

Re: M&T Bank login page shows white screen

Post by Nigaikaze » 2025-11-01, 17:50

Sessh wrote:
2025-11-01, 16:46
Any way around that one?
Alas, no, not until UXP issue #2229 is resolved.
Nichi nichi kore ko jitsu = Every day is a good day.

Sessh
Fanatic
Fanatic
Posts: 247
Joined: 2018-01-11, 18:43

Re: M&T Bank login page shows white screen

Post by Sessh » 2025-11-01, 21:07

Fair enough. I really wish I could help out with development. There's several projects around that make me wish I had gotten into coding when I was younger, but I struggle to get momentum with it now that I'm older.

User avatar
frostknight
Astronaut
Astronaut
Posts: 740
Joined: 2022-08-10, 02:25

Re: M&T Bank login page shows white screen

Post by frostknight » 2025-11-01, 22:28

Same problem, even with the intercept script adoxa gave

Btw, it says this when I view source:

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="stylesheet" href="./branding/branding.css" id="branding" />
<script type="text/javascript" src="/assets/js/mtb_app_stv.js" id ></script><script type="module" crossorigin src="./assets/index-9ex_Usba.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-C32tWrCe.css">
</head>
<body>
<div id="app" class="login"></div>
<div id="loader" data-loader>
<sty-loader></sty-loader>
</div>
<noscript>
<strong>We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
</body>
</html>


Despite the fact I HAVE javascript enabled lol.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
UCyborg
Astronaut
Astronaut
Posts: 541
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: M&T Bank login page shows white screen

Post by UCyborg » 2025-11-01, 22:50

Content of noscript tags is visible when scripting is disabled or unavailable.

User avatar
adoxa
Astronaut
Astronaut
Posts: 520
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: M&T Bank login page shows white screen

Post by adoxa » 2025-11-03, 02:43

Edit the existing filter, replace Search with
/(..)=await (..\(Obj.*)(..)\.use\(\1\);(..\.use\(..\);..\.mount\("#app"\);..\(\)\.init\(!0,..\))/
and Replace with
$1=$2$1.then(x=>{$3.use(x);$4}).

User avatar
frostknight
Astronaut
Astronaut
Posts: 740
Joined: 2022-08-10, 02:25

Re: M&T Bank login page shows white screen

Post by frostknight » 2025-11-03, 03:28

adoxa wrote:
2025-11-03, 02:43
Edit the existing filter, replace Search with
/(..)=await (..\(Obj.*)(..)\.use\(\1\);(..\.use\(..\);..\.mount\("#app"\);..\(\)\.init\(!0,..\))/
and Replace with
$1=$2$1.then(x=>{$3.use(x);$4}).
I can't make heads or tails of this, can you just say what I should convert?

Like all of it at once instead of replace with?

I cannot find:

/(..)=await (..\(Obj.*)(..)\.use\(\1\);(..\.use\(..\);..\.mount\("#app"\);..\(\)\.init\(!0,..\))/

in:

[["login.mtb.com",["/index-.*\\.js$/",["f5=await ","f5=","xa.use(f5);xa.use(u5);xa.mount(\"#app\");Qc().init(!0,p5)","f5.then(x=>(xa.use(x),xa.use(u5),xa.mount(\"#app\"),Qc().init(!0,p5)))"]]]]
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
jobbautista9
Board Warrior
Board Warrior
Posts: 1025
Joined: 2020-11-03, 06:47
Location: Philippines

Re: M&T Bank login page shows white screen

Post by jobbautista9 » 2025-11-03, 05:45

You need to use the filters editor to apply adoxa's changes (you can find it in the add-on's options in about:addons). In it you should find the entry for login.mtb.com and expand its tree. The children of /index-.*\\.js$/ should have both their search and replace fields editable. Delete one of them and replace the other's respective fields.
Screen Shot 2025-11-03 at 13.44.20-fullpage.png
As a result you should be able to get the resulting filter as a JSON array from the add-on options:

Code: Select all

[["login.mtb.com",["/index-.*\\.js$/",["/(..)=await (..\\(Obj.*)(..)\\.use\\(\\1\\);(..\\.use\\(..\\);..\\.mount\\(\"#app\"\\);..\\(\\)\\.init\\(!0,..\\))/","$1=$2$1.then(x=>{$3.use(x);$4})"]]]]
You do not have the required permissions to view the files attached to this post.
Last edited by jobbautista9 on 2025-11-03, 05:46, edited 1 time in total.
Image

"Destroying things, smartly!" - IJN Samidare, probably

Avatar artwork by ebifurya: https://www.pixiv.net/artworks/85379109

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

User avatar
adoxa
Astronaut
Astronaut
Posts: 520
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: M&T Bank login page shows white screen

Post by adoxa » 2025-11-03, 05:46

Since it (probably) already exists, I figured it would be easier to launch the editor and replace the Search/Replace fields, rather than trying to edit the filters directly. But sure.

Code: Select all

[["login.mtb.com",["/index-.*\\.js$/",["/(..)=await (..\\(Obj.*)(..)\\.use\\(\\1\\);(..\\.use\\(..\\);..\\.mount\\(\"#app\"\\);..\\(\\)\\.init\\(!0,..\\))/","$1=$2$1.then(x=>{$3.use(x);$4})"]]]]

User avatar
frostknight
Astronaut
Astronaut
Posts: 740
Joined: 2022-08-10, 02:25

Re: M&T Bank login page shows white screen

Post by frostknight » 2025-11-03, 16:39

adoxa wrote:
2025-11-03, 05:46
Since it (probably) already exists, I figured it would be easier to launch the editor and replace the Search/Replace fields, rather than trying to edit the filters directly. But sure.

Code: Select all

[["login.mtb.com",["/index-.*\\.js$/",["/(..)=await (..\\(Obj.*)(..)\\.use\\(\\1\\);(..\\.use\\(..\\);..\\.mount\\(\"#app\"\\);..\\(\\)\\.init\\(!0,..\\))/","$1=$2$1.then(x=>{$3.use(x);$4})"]]]]
The screen is no longer white, but I still cannot log in. Weirdly enough...

Same javascript error too.
You do not have the required permissions to view the files attached to this post.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
frostknight
Astronaut
Astronaut
Posts: 740
Joined: 2022-08-10, 02:25

Re: M&T Bank login page shows white screen

Post by frostknight » 2025-11-03, 16:48

jobbautista9 wrote:
2025-11-03, 05:45
You need to use the filters editor to apply adoxa's changes (you can find it in the add-on's options in about:addons). In it you should find the entry for login.mtb.com and expand its tree. The children of /index-.*\\.js$/ should have both their search and replace fields editable. Delete one of them and replace the other's respective fields.
I don't have justoff's version I have modify and intercept http version
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3006
Joined: 2012-08-19, 20:32

Re: M&T Bank login page shows white screen

Post by back2themoon » 2025-11-04, 08:36

frostknight wrote:
2025-11-03, 16:48
I don't have justoff's version I have modify and intercept http version
Just above: viewtopic.php?p=267026#p266058

User avatar
frostknight
Astronaut
Astronaut
Posts: 740
Joined: 2022-08-10, 02:25

Re: M&T Bank login page shows white screen

Post by frostknight » 2025-11-04, 15:40

back2themoon wrote:
2025-11-04, 08:36
Just above: viewtopic.php?p=267026#p266058
Actually I tried that, still not getting what I expected though.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
adoxa
Astronaut
Astronaut
Posts: 520
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: M&T Bank login page shows white screen

Post by adoxa » 2025-11-04, 23:27

Yeah, I had that problem, too, then I tried something and it worked. Now that I try again the same thing happens. The workaround is simple: visit https://onlinebanking.mtb.com/nxg which should redirect you back to a working login.