Click here to Skip to main content
15,881,751 members

Comments by Yount_0701 (Top 49 by date)

Yount_0701 1-Jan-24 22:46pm View    
Without message registration and the message queue management , the coding job would be a little easier. It's basically useful for some code chunk with a lot of switch...case or if/else caluse.
Yount_0701 15-Dec-23 0:20am View    
Deleted
And also, your code of event capture is just not correct. So far after all my experience turned out it should be window.onbeforeunload or/and window.onunload , NOT window.onload. The problem of the switching into new console context is caused by the uncheck item "keep logging" on the console panel of DevTool interface.
Thanks a lot.
Yount_0701 21-Nov-23 5:32am View    
Your words definitely not a solution. I add some details after 10 months. If you have time , hope you review these detail , and mostly , hope you finish your solution , lol.
Thank you.
Yount_0701 21-Nov-23 5:15am View    
I'm not sure you get me, but I'm sure I don't get you or your direction (Frankly , your code is not that much different from mine in my question , I hope you do not get messed , as far as I see , depend on my apprehension . If not , it's the problem of my apprehension).
I find a way to deal with it , not perfect , but work. As for your solution , I'm not gonna to buy it.
I use ajax/xhr to request the page label href and parse the response , I'm lucky as for the response has no dynamic DOM ops generated by js, and the href has no cross-origin problem so far, simple and work.
The problem is still there , you guys walk around my question , and then I changed my idea , and walk around my problem .
Yount_0701 20-Nov-23 9:32am View    
I'm not arguing with you. It's a tech question first, and I'm not a criminal. When new href loaded , the console context switched and pre-page console output no access , no output gather , that is the fact I faced and this is a tech community as I thought. If my description not wrong , you have to admit that it's a question first. No offense , you guys have special talent of teaching lessons , lessons walk around my question but just not step into it.