diff --git a/xurfer/ext/3DFile/main.lua b/xurfer/ext/3DFile/main.lua index b1cff6b..8bd9de1 100644 --- a/xurfer/ext/3DFile/main.lua +++ b/xurfer/ext/3DFile/main.lua @@ -14,7 +14,9 @@ return { obj.root = false if obj.URI.target == '_top' then obj.root = true - api.ext.URI.current = obj.URL -- set current url + if obj.URI.protocol ~= 'xrf' then -- xrf:// should not update toplevel URI + api.ext.URI.current = obj.URL -- set current url + end end if type(obj.URI.target) == 'table' and obj.URI.target.obj ~= nil then local parent = obj.URI.target.obj