Some 1 you should clarify. The parameter "a" doesn't relevant i added it simply because i can't increase two approaches with identical process identify and parameters.I feel this may not be the solution but its Doing the job Here is a quick fiddle jsfiddle.net/y2xezyoj this fires the load event ass https://kokainstein05936.liberty-blog.com/40040392/the-2-minute-rule-for-kokainstein