require "Gelo" BannerGrabber = {} function BannerGrabber:viewbanner() if str_beginswith(tab.url,'http') then local http = GHTTPRequest:new() http:open('GET',tab.url) local server = html_escape(http:rcvdheader("Server")) if server == '' then server = 'Unknown' end app.showmessage(tab.url..' is running: '..server) http:release() else app.showmessage('No URL loaded.') end end