home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.comp.software.seamonkey      Not a bad little Mozilla fork      9,710 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,514 of 9,710   
   Jota.Ce to All   
   Re: Seamonkey Mail can't pass OAuth2 aut   
   13 Dec 25 22:11:28   
   
   From: josecss.es@gmail.com   
      
   El 13/12/2025 a las 12:15, Nuno Silva (testing) escribió:   
   > Nuno Silva wrote:   
   >> On 2025-11-27, Jota.Ce wrote:   
   >>   
   >>> El 25/11/2025 a las 11:32, Daniel70 escribió:   
   >>>> On 25/11/2025 6:06 am, Jota.Ce wrote:   
   >> [...]   
   >>>>> I can't do anything in that OAuth2 popup window with context menu,   
   >>>>> shortchut keys, address bar,... just only clicking and writing on   
   >>>>> form's text boxes, and clicking on form's buttons.   
   >>>>>   
   >>>>> Is there maybe a setting in about:config to allow any other actions?   
   >>>> I would think 'YES' .... but what they are is beyond me. Sorry.   
   >>> Does anyone know how to avoid that a form or a popup window forbids   
   >>> using context menu or shortcuts?   
   >>>   
   >>> I mean... a form could forbit those actions through JavaScript,   
   >>> but... why can't you just simply hit F5 on that popup window?   
   >>   
   >> It probably is about either how the window includes the web page area,   
   >> or about how the window is opened.   
   >>   
   >> My guess is that currently, even without controls, it'll be possible to   
   >> come up with a hack using the Browser Console.   
   >   
   > *Possible* yes, albeit quick and dirty. And from a not-so-caffeinated brain:   
   >   
   > {let e = Services.wm.getEnumerator(""); while (e.hasMoreElements()) { let w   
   = e.getNext(); if (w.document.documentURI ==   
   > "chrome://messenger/content/browserRequest.xul") {console.log("Window found,   
   reloading content frame");   
   > w.document.getElementById("requestFrame").reload(); break;}}}   
   >   
   > (I wrote that in one line to avoid having to deal with newlines in the   
   browser console when copy-pasting this, but it's going to get wrapped in   
   > this post anyway :-) )   
   >   
   > (That ought to loop through windows*, and, if the Mail&News' b   
   owserRequest.xul window is found, reloads its content. If more than one such   
   > window exists, only the first gets reloaded ("break;").)   
   >   
   > * (I have to check if "" does the same as null or not, but it does get the   
   OAuth2 request window, so that's OK here; that window does not seem   
   > to have a type, so specifying one won't work here?)   
   >   
   > This code would go in the prompt in the Browser Console window (reachable   
   from a Navigator window: Tools->Web Development->Browser Console, or   
   > Ctrl+Shift+J, at least on Windows and Linux). My notes say this needs the   
   chrome.devtools.enabled preference to be set to true (otherwise there   
   > will be no such prompt in the Browser Console).)   
   >   
   >   
   Fixed that about:config setting, but it won't get me in at the end.   
      
   These are my steps:   
     - Browser console open with prompt   
     - Click on Receive new mail -> OAuth2 popup will show   
     - My organization requests me to log in with user/pass   
     - Then i get the "Do you trust..." screen -> Click on "Continue"   
     - Pasted that code in Browser console   
     - Popup window reloads (THANKS!) and gets to a new "phase"   
     - I got a login request from MS with URL login (dot) microsoftonline (dot)   
   com (slash) someotherthings   
     - Then i provide my email address   
     - Then it request me to enter 2FA code   
     - Then it goes to m365 (dot) cloud (dot) microsoft (without .com) (slash)   
   someotherthings and i get a blank screen   
     - Then i disable Scripts in Browser Preferences and i try to reload with   
   Browser console trick   
     - Then it shows an error telling that JavaScript is mandatory   
      
   So thanks a lot for your help trying to bypass the "Do you trust" screen, but   
   it seems that Seamonkey can no longer load those URLs and can no   
   longer get OAuth2 token.   
      
   By the way, i don't know if it's relevant, but evreytime i launch the   
   instruction you provided, Browser console shows an undefinded register and   
   2 duplicated errors: "Empty string passed to getElementById()"   
      
   Thanks again and regards.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca