so i was playing around with LuaSocket and came up with this.
download here: http://geggames.com/lovely_net.love
(warning: this does not work in the love chrome extension)
v2:
+the browser only request each time you press return
v1:
released the browser
Lövely NET - A Very Simple HTML Browser [v2]
Lövely NET - A Very Simple HTML Browser [v2]
Last edited by jjmafiae on Sun Aug 11, 2013 1:26 pm, edited 7 times in total.
Re: Lövely NET - A Very Simple Web Browser
More like telnet client. Runs slow as hell for some reason.
Make it recognize tags and display data correctly, at least in text-only mode, and then we'll talk about web browser.
Make it recognize tags and display data correctly, at least in text-only mode, and then we'll talk about web browser.
Re: Lövely NET - A Very Simple HTML Browser
Kind of VERY SLOW. Maybe have an option to go into a help menu...?
"In those quiet moments, you come into my mind" - Liam Reilly
Re: Lövely NET - A Very Simple HTML Browser
No. Two things: make it run fast, make it scroll the output.
Re: Lövely NET - A Very Simple HTML Browser
i dont know if im gonna continue developing, ill see.
Re: Lövely NET - A Very Simple HTML Browser
It is slow because at each draw you do a http request ... Do only one request per url and store it.
Re: Lövely NET - A Very Simple HTML Browser
thanks for the feedback guys
Re: Lövely NET - A Very Simple HTML Browser
Lol, I was wondering why it was so slow. Doing an http request every draw would explain it, this is practically a DDOS tool.
Re: Lövely NET - A Very Simple HTML Browser
whoops...Lua Hal wrote:Lol, I was wondering why it was so slow. Doing an http request every draw would explain it, this is practically a DDOS tool.
sorry bartbes... for DDOSing the love website
okay so in 3 hours i made two bad programs that use luasocket without any intention of doing it
1.a program that crashed my computer
2.a DDOS tool
edit: new version out, this time it does not request every tick, only once.
Re: Lövely NET - A Very Simple HTML Browser [v2]
There we are! MUCH faster. Good project, but a few things:
1) When I try to remove 1 character, it deletes the entire URL, maybe have the user hold Control and backspace to remove the entire line. Just a thought.
2) If I don't type "http://" or "https://" before the URL it breaks. Maybe you could have an "if" statement, checking if the URL has "http://" or "https://"
3) If I don't type "www." before a URL I get the same error as not typing "http://" or "https://". Just do the same here as you would do for the "http://"
EDIT: I looked into the code. It's really short, and really easy to use. I can see how you got your text input, but like I said it's a little buggy.
1) When I try to remove 1 character, it deletes the entire URL, maybe have the user hold Control and backspace to remove the entire line. Just a thought.
2) If I don't type "http://" or "https://" before the URL it breaks. Maybe you could have an "if" statement, checking if the URL has "http://" or "https://"
3) If I don't type "www." before a URL I get the same error as not typing "http://" or "https://". Just do the same here as you would do for the "http://"
EDIT: I looked into the code. It's really short, and really easy to use. I can see how you got your text input, but like I said it's a little buggy.
"In those quiet moments, you come into my mind" - Liam Reilly
Who is online
Users browsing this forum: No registered users and 50 guests