Damn Lithium!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Feedback
- :
- Community Site Feedback
- :
- Re: Damn Lithium!
Damn Lithium!
a week ago - last edited a week ago
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I know there is no point now but I just have to let off steam about damned Lithium!
What exactly is the point of forum software that seems mainly dedicated to discouraging posting on a forum?
Apart from when composing any posts whatsoever I have to avoid so much as looking at any 'wrong type of keys' - or else BANG! That's the end of that post.
Apart from when quoting posts I have to always remember to start the post with a SPACE or NEWLINE before I do anything else, or I just get caught in the...
Quote Repeat
Quote Repeat
Quote Repeat
Quote Repeat
...line forever.
But why exactly does Lithium randomly decide to put up this silly and annoying box during editing:
Reload site?
Changes you made may not be saved.
X Prevent this page from creating additional dialogues
Reload Cancel
Touch anything you shouldn't when this appears (what SHOULD you touch?) and BANG! There goes another post.
OK. I know nobody really knows the answer to any of these mysteries. It's just Lithium.
Re: Damn Lithium!
a week ago
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I know it doesn't answer your question, but I don't encounter any of the issues you raise above, and I haven't seen anyone else mention them either.
Re: Damn Lithium!
a week ago - last edited a week ago
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
...Well, if that is true, then it's even weirder than I thought! 😮
P.S. Had Lithium pop up nuisance box during this post. Time to get paranoid?
Apparently, wrt that pop up nuisance box - which I only ever encounter posting on this forum:
"This popup with text as Reload site? Changes you made may not be saved is the implementation of onbeforeunload property of WindowEventHandlers
The onbeforeunload property of the WindowEventHandlers mixin is the EventHandler for processing beforeunload events. These events fire when a window is about to unload its resources. At this point, the document is still visible and the event is still cancelable.
SolutionThere are different strategies available to handle this popup.
-
Chrome solution: Using
--disable-popup-blockingthrough ChromeOptions():from selenium import webdriver options.add_argument("--disable-popup-blocking") driver=webdriver.Chrome(chrome_options=options, executable_path=/path/to/chromedriver') -
Firefox solution: Using
dom.disable_beforeunloadthrough FirefoxProfile():from selenium import webdriver profile = webdriver.FirefoxProfile() profile.set_preference("dom.disable_beforeunload", True) driver = webdriver.Firefox(firefox_profile = profile) -
Cross Browser solution: As a Cross Browser solution, you can disable this dialog invoking the
executeScript()to set window.onbeforeunload asfunction() {};and you can use the following solution:driver.execute_script("window.onbeforeunload = function() {};") -
JQuery based solution:
$I->executeJS( "window.onbeforeunload = null" );
You can find a relevant discussion in How to handle below Internet Explorer popup “Are you sure you want to leave this page?” through Selenium
--undetected Selenium"
🙄
Plus:
Disable annoying "Leave site? Changes you made may not be saved" Pop-up
https://www.reddit.com/r/chrome/comments/jjg1wp/disable_annoying_leave_site_changes_you_made_may/
I like that extension name: "Let me out".
Re: Damn Lithium!
a week ago
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Moderators Note
This topic has been moved from Plusnet Feedback to Community Feedback.
If it helped click the thumb
If it fixed it click 'This fixed my problem'
Re: Damn Lithium!
Saturday - last edited Saturday
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@jab1 wrote:
I know it doesn't answer your question, but I don't encounter any of the issues you raise above, and I haven't seen anyone else mention them either.
FWIW - You may(?) be correct that these faults (there are many) are more down to possibly MS than Lithium, however, it is only while using Lithium they are apparent to me!
There are endless, random, tiresome, fiddle-faddles I have to go through, posting on this Lithium forum, whatever the root cause is.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page