Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1008983 // hjs_redirectWindowOrParent

JavaX fragment (include)

static S hjs_redirectWindowOrParent(S url) {
  ret hjavascript("(window.parent ? window.parent : window).location = " + quote(url) + ";");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008983
Snippet name: hjs_redirectWindowOrParent
Eternal ID of this version: #1008983/3
Text MD5: eca0290238b00771aabade0247c23e6b
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-22 16:24:43
Source code size: 142 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 503 / 548
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1008984 - hjs_reloadWindowOrParentIn