CodeIgniter Forums
Script to trigger actions after page loaded, please help me find it back - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Script to trigger actions after page loaded, please help me find it back (/showthread.php?tid=18539)



Script to trigger actions after page loaded, please help me find it back - El Forum - 05-10-2009

[eluser]Wooo[/eluser]
A while ago, I found a script on this page (which is now empty). Back then, I only skimmed through some info about the script, and didn't bother to bookmark it. But now, I need it and can't find it back.

I don't remember what is was called, but, if I've understood correctly, this script allowed you to execute other scripts with a delay, after the visitor's page is already loaded.

I'd like to use this functionality for storing visitor data (e.g. referrers) in a database without increasing the page load time for visitors.

If anyone knows where I can find this script, or another script/way to achieve the same results, please let me know.


Script to trigger actions after page loaded, please help me find it back - El Forum - 05-10-2009

[eluser]Dam1an[/eluser]
I'm not sure of the actual script you're after, but it sounds like you could acheive this yourself using a post system hook
It would get executed after the page has been displayed so it wouldn't affect load/render time


Script to trigger actions after page loaded, please help me find it back - El Forum - 05-10-2009

[eluser]Wooo[/eluser]
Thank you! That will probably do the job perfectly..