Forum Discussion
click web site link with require open page in new tab
Hi All
Just wonder is that possible when user click the web site link and F5 will assist to open a new tab for new page instead ?
Example : when user access to www.test.com and click on the "contact" button link . Then, f5 will assist open a new tab .
Please advice If this is doable through IRULE.
Thanks Regards Jack
1 Reply
Hi Jack,
this would be possible using a STREAM Profile or by using an iRule using the [STREAM::enable], [STREAM::disable] and [STREAM::expression] syntax. Basically you have to change the "contact" button related HTML content so that it instructs the browser to open the link in a new Window/Tab.
If the original code looks like this...
Contact
... it has to be changed to ...
Contact
The STREAM expression would then look like this...
@www.test.com/contact.html\">@www.test.com/contact.html\" target=\"_blank\">@@
Note: The HTML code and the expression is just an example. You have to dig into your HTML/JScript code using some browser based debugging tools and find a stable code patch for your site. Once you have identified the required change, you could rewrite the code on the wire using STREAM...
Cheers, Kai
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
