Lövely NET - A Very Simple HTML Browser [v2]

Showcase your libraries, tools and other projects that help your fellow love users.
jjmafiae
Party member
Posts: 1331
Joined: Tue Jul 24, 2012 8:22 am

Lövely NET - A Very Simple HTML Browser [v2]

Post by jjmafiae »

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
Last edited by jjmafiae on Sun Aug 11, 2013 1:26 pm, edited 7 times in total.
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Lövely NET - A Very Simple Web Browser

Post by raidho36 »

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.
User avatar
Eamonn
Party member
Posts: 550
Joined: Sat May 04, 2013 1:29 pm
Location: Ireland

Re: Lövely NET - A Very Simple HTML Browser

Post by Eamonn »

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
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Lövely NET - A Very Simple HTML Browser

Post by raidho36 »

No. Two things: make it run fast, make it scroll the output.
jjmafiae
Party member
Posts: 1331
Joined: Tue Jul 24, 2012 8:22 am

Re: Lövely NET - A Very Simple HTML Browser

Post by jjmafiae »

i dont know if im gonna continue developing, ill see.
User avatar
chezrom
Citizen
Posts: 59
Joined: Tue May 28, 2013 11:03 pm
Location: France

Re: Lövely NET - A Very Simple HTML Browser

Post by chezrom »

It is slow because at each draw you do a http request ... Do only one request per url and store it.
jjmafiae
Party member
Posts: 1331
Joined: Tue Jul 24, 2012 8:22 am

Re: Lövely NET - A Very Simple HTML Browser

Post by jjmafiae »

thanks for the feedback guys :megagrin:
User avatar
Lua Hal
Citizen
Posts: 58
Joined: Tue Jul 12, 2011 10:30 pm

Re: Lövely NET - A Very Simple HTML Browser

Post by Lua Hal »

Lol, I was wondering why it was so slow. Doing an http request every draw would explain it, this is practically a DDOS tool. :shock:
jjmafiae
Party member
Posts: 1331
Joined: Tue Jul 24, 2012 8:22 am

Re: Lövely NET - A Very Simple HTML Browser

Post by jjmafiae »

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. :shock:
whoops...

sorry bartbes... for DDOSing the love website :shock:

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.
User avatar
Eamonn
Party member
Posts: 550
Joined: Sat May 04, 2013 1:29 pm
Location: Ireland

Re: Lövely NET - A Very Simple HTML Browser [v2]

Post by Eamonn »

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.
"In those quiet moments, you come into my mind" - Liam Reilly
Post Reply

Who is online

Users browsing this forum: No registered users and 50 guests