Download Keep Awake Extension

0 views
Skip to first unread message

Nilsa Cantos

unread,
Jan 17, 2024, 8:46:38 AM1/17/24
to chutzsignwose

This extension only offers a single toolbar button which is inactive by default. You can click the button once to active the keep awake state and another click will release this state. To change the level, use the right-click context menu items.

download keep awake extension

Does anyone happen to know if it is possible to have a persistent iFrame in a Chrome Extension? Currently I have the iFrame running in the background page, but I would like to be able to have it visible to the user (it is a video player so even though video is playing, the user has not way of clicking the controls). The goal is that if the user closes the popup of the extension the video still players and that when they click the popup again the video is still playing and they have access to the controls. It appears that this used to be possible with importNode / adoptNode in the past but it looks like these have been removed from the API.

Use content scripts to keep track of the place in the video, and whenever the iframe with the video gets moved between the browser action popup and the background page and gets reloaded, you then seek the video to the location it was just at. This isn't the greatest user experience since there will be a hiccup.

Instead of having the video playing in the background page and trying to move it back and forth between that and a browser action popup, instead always just load the video in regular popup window. You can create a type=popup window using chrome.windows.create, and then minimize/restore it by using chrome.windows.update to toggle between the minimized and normal states, perhaps minimizing it automatically whenever it loses focus. This isn't the greatest user experience because there will always be a minimized window that isn't as "hidden" from the user's window management system as it would be when having the video in the extension's background page.

I received a nice Dell Chromebook 13 yesterday and installed a number of apps from the Chrome Web Store on it today. As you probably know, "installing" an extension on a Chromebook gets synced to Chrome browsers on Windows PCs linked to the same google ID. A few minutes ago, my Windows 10 laptop, with Malwarebytes Premium installed, reported 20 PUP files - all of them were about Chrome's "Keep Awake" extension. I disabled the extension on my windows laptop, which also synced to disable it on my Chromebook.

I assume that Malwarebytes' flagging this is just an edge case that isn't handled in your exceptions, but I wanted to ask before I re-enabled the extension and exempted from Malwarebytes scans on my local system.

Keep Awake allows you to override the system power-saving settings on Chrome OS. This means you can make it easier to surf the web or do other work while connected to a charger, and turn the screen back on when you're finished using it. This is a good solution if you're using a laptop, tablet, or other connected device, as it allows you to keep all the features of the device, but the battery won't drain as quickly. In addition, the screen will remain on when the lid is closed, making it convenient to turn your device back on quickly when you need it. This feature is useful for people that use computers, tablets, and other devices connected to the Internet, and is especially useful if you're using a laptop that is connected to a charger. This extension is useful for people who are connected to the internet at all times, whether or not they're using their devices.

PowerToys Awake is a tool for Windows designed to keep a computer awake without having to manage its power & sleep settings. This can be helpful when running time-consuming tasks, ensuring that the computer does not go to sleep or turn off its screens.

While PowerToys Awake can keep the computer awake indefinitely or temporarily, in its default state the displays connected to the machine will turn off. If you need the displays to be available, use the Keep screen on switch, which will keep displays active.

The settings.json configuration file is located at %HomePath%\AppData\Local\Microsoft\PowerToys\Awake\. "Keep awake temporarily" options can be adjusted by modifying the "customTrayTimes" value, an array consisting of name and duration (in seconds) to stay awake. For example: "customTrayTimes":"8 hours":28800.

Keep On is a keep awake app, which looks very professionally done if you ask me. It even has a power manager, where you can separately tweak the timers that prevent the system and/or the screen from turning off.

Using either an extension or a block routine drains your device battery rapidly . These work around methods are not running the app in the Background, they force the app
screen to stay open .

On Windows and Mac, it's easy to keep your computer from falling asleep via power settings. Chrome OS doesn't have any of these options, and it only keeps the screen for a few extra minutes when the power cord is plugged in. So when you need to keep your computer on for a while to download many files, give a presentation, or keep playing music, the free extension Keep Awake is the answer.

The add-on hasn't been updated in a few years, but it's still your best bet for keeping your Chromebook awake for long periods of time. Like most Chrome extensions, clicking on its icon next to the URL bar is how you access the extension options.

When you see a Sun icon, the screen will stay on indefinitely. The Sunset icon means that the screen will turn off, but the system will keep awake. If you plan on having a static image on the screen for a long time, this is a wise idea. Click the extension icon once more for the Moon icon, which means that it's not changing your power settings and your machine will sleep as normal.

This won't keep your Chromebook awake when you close the lid, and it only works on Chrome OS. So if you're using Chrome on your Windows or Mac laptop, you'll have to look elsewhere for a power utility. If you're curious, check out the differences between sleep and hibernate modes.

We're working on a feature that will allow 1Password in the browser to be integrated with the 1Password 7 desktop app, which, among other things, will allow you to keep it unlocked even when you close the browser and unlock it with Windows Hello, which is super comfortable. We're hoping to release it soon :)

You could use the classic extension which doesn't lock when closing the browser. I'm using the Windows desktop app together with the classic extension. I only have to unlock the app / extension when locking the computer. ;)

Thanks god for the classic extension still available and thanks @DenalB for the link to it! I accidentally replaced it with the new one in my Chrome and I hate it from the bottom of my heart. Not only I have to enter my strong long complicated master password several times a day, but also all the 1Pwd icons and annoying dropdowns on every second input, it's horrible. The fact I could return to the classis extension made my day.

I developed this extension and was testing it in browser. The moment I the close the popup the timer stops running and resets to zero, all the settings are also reset to default.
How do i keep my extension running even after closing popup?

No, popup.js is not a content script. It is an extension script with full access to all APIs. However, it is only loaded while the popup is open. As you correctly suggested, to keep something running, you should be doing it in the background page of the extension.

It will (at least in Firefox, when it is persistent). However, for time things, it might be better to 1) use the timer APIs for extensions, since that will give you an event when the time runs out (which you can listen to in both background page and popup!), no matter if your background page is persistent and 2) to store the timestamp the timer ends. That way, whenever you open your popup you can just show how long it is until the currently running timers have left.

Also I have been inspecting the extension by going to about:debugging
image1401326 21.4 KB
The moment I open the popup again after closing it, the storage is reset to zero
image1802330 29.5 KB
Could you explain a bit by relating this to the 2 point solution you suggested above?

Your background script is also like a web-page, invisible running in the background all the time - well, in Manifest V3 and with persistent set to false it will also be killed and awaken when needed - for example when the Alarm will fire.

hi . i have same problem . i have an extension that when popup open it work correctly but when i click somewhere or alt+tab , it stop working , is there any code to run extension always in background even when firefox is minimized ?

Keep Awake (Display System) is a lightweight addon that lets you keep your system from going to sleep without changing the power settings in your PC or Mac. Keep Awake (Display System) is an easy-to-use and intuitive interface that keeps the screen or system from going to sleep, depending on your needs. It is a useful tool that prevents the screen from turning off, especially for those who use their computer at home or work.

It really does! At 5 months old, Brayden, my oldest, would stay awake for 2 hours. Conversely, Kaitlyn, my second, could not stay awake longer than 1 hour. McKenna, my third, varied from 1 hour to 2 hour waketime as a 5 month old. Brinley, my youngest, varied from 1 hour 15 minutes to 2 hours for her waketime lengths as a 5 month old.

So how long can/should your baby stay awake? This is one of those things you are going to have to determine for yourself. Here are some tools to help you out. Be sure to check out my free Wake Time Length Worksheet to figure out if you should extend wake time or not.

Waketime includes feeding time, even for a newborn. Yes, the time awake is so short, but it is what they need. Pretty soon baby will be staying up long hours and playing with you. It just gets more and more fun.

dca57bae1f
Reply all
Reply to author
Forward
0 new messages