I'm not particularly happy with script tags inside the html, but this appeared to follow the logic used by the code. I added a line that check the location.hash for "style=xxx". If one is found, I grab the xxxx and call change style. I apologize for adding a console log to the the code. Feel free to clean up my mess.
I'm not particularly happy with script tags inside the html, but this appeared to follow the logic used by the code. I added a line that check the location.hash for "style=xxx". If one is found, I grab the xxxx and call change style. I apologize for adding a console log to the the code. Feel free to clean up my mess.