将变量添加到url的末尾或动态ajax重新加载选项卡

This is a little hard for me to explain as i am not much of a coder. So here we go.

I have script that is mostly encoded with ion cube. Not i have an addon that is also encoded. The addon is loading in a tab number 5. The problem is that every time i click on a function in the tab that complete page reloads, and you have to navigate back to tab 5 to see the results.

So this is what i am thinking. As i can't edit code and the make of the code doesn't know when they are adding tab support to their little piece of code. i figured that there are two options

1 Force the following variable to the end of the url #tab5 so that when people click a function they will not have to navigate back to the tab. How do i do this coding wise, javascript or something else and what would code be or where would i look to code something like that. I have looked everywhere but nothing really applies to my situation

2 I think it would also work if each function which is called just reloads that section of the page in an ajax field so that not the full page is being reloaded.

Who can help find the right solution.

thanks