

#1focus chrome extension code#

Since the plugin's main thread is bound to chrome's main thread, if either slows down, or hangs, they both slow down or hang. we have bugs on dealing with content hangs which overlap this.slow plugin scripts cause this pretty often.we have assertion mechanisms to warn about this in non-e10s.Ĭhrome -> sync ipc -> content -> sync ipc -> plugin -> sync sendmessage -> chromeĬontent -> sync ipc -> plugin -> plugin never responds back.happens while chrome is dispatching messages, or in a sync/rpc ipc call.No timeouts are set for DEBUG builds, see all.js and firefox.js.Ĭhrome sync ipc -> plugin -> plugin never responds backĬhrome -> sync ipc -> plugin -+Ĭhrome -> sync ipc -> content -> sync ipc -> plugin | sync ipc -> chromeĬhrome -> sync sendmessage -> plugin -> sync ipc -> content -> sync ipc -> chrome Active in both non-e10s and e10s.Įnable or disable the ipc ProcessHangMonitor. We set this if we detect multiple chrome hangs during a session. Minimum time that the plugin hang UI will be displayed.ĭom.-protected-mode How long a chrome to plugin synchronous IPC message is allowed to process before we display the plugin hang dialog. After this point the child assumes the parent is hung. How long a plugin process will wait for a response from the parent to a synchronous request before terminating itself. How long a plugin launch is allowed to take before we consider it failed. How long a content to plugin synchronous IPC message is allowed to process before we notify the chrome process of a plugin hang. How long a chrome to plugin synchronous IPC message is allowed to process before we consider it "hung". Plugins and e10s Preferences related to plugins and process timeouts Platform Prefs Preference 1.1 Preferences related to plugins and process timeouts.You can set focus time and also block websites during those focused, deep work sessions. The Friday Planner and Chrome extension does exactly that. What if you had a planner/to-do list and a website blocker with the same Chrome extension? That way you could block a distracting website while also checking off your to-do list items. Instead, these tools wall off distraction sources, making it impossible for you to get sidetracked.įorced to focus on work, you'll find you finish jobs faster and have more time for the things that matter you know, like watching cat videos.

With a website blocker, you need not rely on feeble willpower to keep yourself focused. Distractions are everywhere! How are you supposed to get anything done?

"How did I end up here?" you ask yourself as you click another meme. Have you ever sat at your desk, ready to conquer the day only to find yourself scrolling through your social media accounts and news sites?
