- Mar 22, 2013
- 9,142
- 10,489
So I'm trying to create a little Gresemonkey script. I got this and it works for refreshing a webpage every 15 seconds:
The problem is, I need the type of refresh to be either a "ctrl+f5" or a "ctrl+shift+r" keypress.
Can anyone tell me how I can make that happen?
Code:
setTimeout(function(){ location.reload(); }, 15*1000);
The problem is, I need the type of refresh to be either a "ctrl+f5" or a "ctrl+shift+r" keypress.
Can anyone tell me how I can make that happen?