[rz] Idle Manager *** UPD 2017-Sep-06 ***

In this section you can announce self-made paid extensions.
*** THIS SECTION CONTAINS PAID EXTENSIONS ONLY ***
Post Reply
User avatar
[RZ]
 
 
Posts: 2150
Joined: Tue Nov 04, 2008 12:08 pm

[rz] Idle Manager *** UPD 2017-Sep-06 ***

Post by [RZ] » Tue Apr 08, 2014 2:17 pm

[rz] Idle Manager v1.1

The most lightweight solution to control events when the browser enters in idle mode.

- Manage events (after and before) when the browser enters in idle mode and "wakes-up".
- Automatically turns off the light when the browser is in idle mode with a customizable dimmer.
- Smooth dimmer effect.
- Redirection support when enters in idle mode.
- Instant or delayed "wake-up" mode allows to define how the browser reacts and comes back.
- Multi-instance: allows to build "eco-friendly" sites with different idle levels.
- Lightweight: no jQuery required.
- Supports all major browsers, even really old ones! (IE5+, Chrome, Safari, Opera, Firefox and more)

DEMO

HTML 4.01 Transitional
W3C compliant


* New in version 1.1

- Custom color for the dim effect.
- Improved custom events handling.
- Optional embedded object with custom position.
- Fixed a glitch in multi-instance schemes on older browsers.
- Improved startup.

* New in version 1.0.0.3

- The core has been moved to an external file for a faster navigation between pages.
- Minor code optimizations.

* New in version 1.0.0.2

- Fixed a sporadic "false positive" warning in Internet Explorer 11 under Windows 8.1.
- Improved idle "wake-up" from within an inlineframe (the contained page must be in the same site).
- Minor code tweaks.

* New in version 1.0.0.1

- Added detection support when idle status is within an inlineframe.


How to use?

Just drag and drop the extension and optionally setup the self-explanatory properties.
If you need "deeper" idle levels, add a new instance and be sure the idle time is greater than in the previous instance.

Enjoy!
Last edited by [RZ] on Wed Sep 06, 2017 7:25 pm, edited 5 times in total.

User avatar
[RZ]
 
 
Posts: 2150
Joined: Tue Nov 04, 2008 12:08 pm

Re: Idle Manager

Post by [RZ] » Wed Apr 09, 2014 7:52 am

a big 'thank you' to everyone who supports my work!!
here are few samples about how to use this extension with advanced programming
(attached info file updated)

The [rz] Idle Manager is not just to fade-in and fade-out the browser! (Even you can ignore this and set the 'Dim' property to 0)
You can manage advanced tasks where bandwidth is critical, here a few samples (using the global 'is_idle' value).


1. A global case that news are updated every second

Code: Select all

setInterval(function()
{
   if (is_idle)
   {
      //
      // perhaps the user is gone...
      // so, instead of update news, let's clean up the older ones!
      //
   }
   else
   {
      //
      // the user is here and active...
      // check and update the news!
      //
   }
}, 1000);

2. A global case that news are updated every second with a multi-instance manager


in each [rz] Idle Manager instance:

- first instance: setup the idle time 60 seconds (one minute)
- second instance: setup the idle time 180 seconds (three minutes)

in your custom code section:

Code: Select all

setInterval(function()
{
   if (is_idle == 1)
   {
      //
      // perhaps the user is gone...
      // so, instead of update news, let's clean up the older ones!
      //
   }
   else if (is_idle == 2)
   {
      //
      // oops...
      // seems that the user left me alone, log him out!
      //
   }
   else
   {
      //
      // the user is here and active...
      // check and update the news!
      //
   }
}, 1000);

3. Events triggered only when the browser enters in idle mode and wakes-up


in [rz] Idle Manager, 'Events' category:

add in 'After in' property: IdleChange();
add in 'After out' property: ActiveChange();

in your custom code section:

Code: Select all

function IdleChange()
{
   //
   // this function will be executed only when the browser enters in idle mode
   //
}

function ActiveChange()
{
   //
   // this function will be executed only when the browser is back to active mode
   //
}

User avatar
Pascal-Gilles
 
 
Posts: 103
Joined: Tue Apr 05, 2011 8:06 pm
Location: France
Contact:

Re: Idle Manager

Post by Pascal-Gilles » Wed Apr 09, 2014 6:38 pm

Hi RZ,

Excellent! Didn't know that we could handle such behaviour, thanks!

Cheers
8)

User avatar
[RZ]
 
 
Posts: 2150
Joined: Tue Nov 04, 2008 12:08 pm

Re: Idle Manager

Post by [RZ] » Wed Apr 09, 2014 7:13 pm

thank you pascal for your kind feedback
yes, it is just an example, the possibilities are almost endless

User avatar
[RZ]
 
 
Posts: 2150
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Idle Manager *** UPD 2015-Feb-25 ***

Post by [RZ] » Wed Feb 25, 2015 2:23 pm

* New in version 1.0.0.2:

- Fixed a sporadic "false positive" warning in Internet Explorer 11 under Windows 8.1.
- Improved iddle "wake-up" from within an inlineframe (the contained page must be in the same site).
- Minor code tweaks.

* New in version 1.0.0.1:

- Added detection support when iddle status is within an inlineframe.

User avatar
[RZ]
 
 
Posts: 2150
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Idle Manager *** UPD 2017-May-27 ***

Post by [RZ] » Mon May 29, 2017 5:28 am

* New in version 1.0.0.3

- The core has been moved to an external file for a faster navigation between pages.
- Minor code optimizations.

User avatar
[RZ]
 
 
Posts: 2150
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Idle Manager *** UPD 2017-Sep-06 ***

Post by [RZ] » Wed Sep 06, 2017 7:26 pm

* New in version 1.1

- Custom color for the dim effect.
- Improved custom events handling.
- Optional embedded object with custom position.
- Fixed a glitch in multi-instance schemes on older browsers.
- Improved startup.

User avatar
zinc
 
 
Posts: 1511
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom

Re: [rz] Idle Manager *** UPD 2017-Sep-06 ***

Post by zinc » Thu Sep 07, 2017 12:49 pm

Great to see you enhancing this little beauty!!!!

User avatar
[RZ]
 
 
Posts: 2150
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Idle Manager *** UPD 2017-Sep-06 ***

Post by [RZ] » Thu Sep 07, 2017 1:34 pm

thank you for your kind words

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests