How to set UI Tabs to make content load from the current page (disable Ajax) if using full urls?

How to set UI Tabs to make content load from the current page (disable Ajax) if using full urls?

Hi unfortunately I'm not able to use a short version of anchors: <a href="#tabs-1">Tab1</a> on my site.

 

I have to use the full url instead : <a href="site.com/category/page.html#tabs-1">. Content for tabs are on the same page with all anchors, so no need to use ajax.

 

Even if I put the full url Tabs are working ok till the moment than someone came to this page by using technical url: site.com/category/page.html?something instead of site.com/category/page.html.

 

As url in the browser is differ from the url in the Tabs’ anchor content is loaded via ajax, and it loads the full site page, but not the text I need((

So I think that if I can disable ajax for this case and force UI to search content on the same page this would be grate.