snytkine / staying_alive

Chrome Extension to keep session alive with background requests
https://chrome.google.com/webstore/detail/staying-alive/lhobbakbeomfcgjallalccfhfcgleinm
59 stars 27 forks source link

Add option to configure 'client-side' rules #2

Closed snytkine closed 11 years ago

snytkine commented 11 years ago

Need to defeat websites that have inactivity timeouts implemented on client with javascript. The way to defeat this is to just have the pages reload after "n" seconds.

With client-side rules a small javascript will be injected with pages that match the url pattern. It's important to match pattern and not exact url because when user browsing pages on the site we want to inject javascript in all pages of the domain.

The javascript will start a countdown and when about 30 seconds is left till reload a small div will appear in top or bottom of page saying "Page will reload in 30 seconds [Cancel button]"

If Cancel button not clicked that page will just reload in browser.

snytkine commented 11 years ago

Done! This feature is available in the published extension