From dfc409a714794149eabb0785463d08a1d91fc73e Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Tue, 2 Aug 2016 15:01:13 -0300 Subject: [PATCH] Updated Inject JavaScript Code (markdown) --- Inject-JavaScript-Code.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Inject-JavaScript-Code.md b/Inject-JavaScript-Code.md index c57eff5..02a812d 100644 --- a/Inject-JavaScript-Code.md +++ b/Inject-JavaScript-Code.md @@ -1 +1,7 @@ -Hello World! \ No newline at end of file +From version 0.4.1 you can inject custom JavaScript code into websites. This is great when you want to add custom functionality to each specific service. + +For example, some users want to make an Auto Refresh every X time because the service they are using, it's disconnect on inactivity. Here's an example to autorefresh every 10 minutes. + +```javascript +setInterval(function(){location.reload();}, 600000); +``` \ No newline at end of file