html = scl.stringlist:new()
p = scl.htmlparser:new()
p:load(tab.source)
while p:parsing() do
if p.tagname == 'a' then
href = scop.html.escape(p:getattrib('href'))
if href ~= '' then
html:add(''..href..'
')
end
end
end
browser.newtab(tab.url,html.text)
p:release()
html:release()