Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
URI Redirect Plus plugin
#11
How about using some javascript to accomplish this:

Code:
window.open('_link is here_', 'name');

name is a name of the window. Following names should be supported:

    _blank - URL is loaded into a new tab. This is default.
    _parent - URL is loaded into the parent frame
    _self - URL replaces the current page
    _top - URL replaces any framesets that may be loaded

If the browser pauzes this behavior with a popup then try something like this:

Code:
var win = window.open('http://stackoverflow.com/', '_blank');
if (win) {
   //Browser has allowed it to be opened
   win.focus();
} else {
   //Browser has blocked it
   alert('Please allow popups for this website');
}
Reply


Messages In This Thread
URI Redirect Plus plugin - by jlyon1515 - 2016-09-17, 18:41:07
RE: URI Redirect Plus plugin - by phpman - 2016-12-26, 08:47:54
RE: URI Redirect Plus plugin - by jlyon1515 - 2017-01-07, 11:24:05
RE: URI Redirect Plus plugin - by jlyon1515 - 2017-03-17, 04:16:42
RE: URI Redirect Plus plugin - by jlyon1515 - 2019-12-06, 07:12:56
RE: URI Redirect Plus plugin - by Cre8gent - 2021-01-31, 07:53:45
RE: URI Redirect Plus plugin - by jlyon1515 - 2021-01-31, 12:36:08
RE: URI Redirect Plus plugin - by Cre8gent - 2021-01-31, 21:50:07
RE: URI Redirect Plus plugin - by Felix - 2021-01-31, 23:15:26



Users browsing this thread: 1 Guest(s)