Thunksten: An Open Source Web Browser


#13

Thanks for the feedback everyone. I’m definitely going to add in some more features with extensions but when I saw @Futuredev’s post yesterday I wanted to add this in ASAP. This release will add the ability to check for a domain name from a large list of domain names. The really nice thing here is that it “fails” gracefully. If the users accidentally types the wrong thing it will search for the term on Google rather than showing some sort of “Can’t resolve host name” error message.

If you’re following along at home, here are the changes from version 3. The first thing to do is create two new variables. The first, listOfTLDs is to store the all of the top level domains, or domain names to me and you. The second isWebsite is basically a switch that we can set as true or false depending on whether or not the user has entered a valid domain name.

Next thing we want to do is add all of those TLDs to our list:

You can find a link to all of them in the original post:

(Yes, I did try adding them as a .csv file but when it didn’t work first time I opted for the old reliable copy-and-paste approach)

Most importantly, we need to check if the user has typed a valid domain name into the browser. What I’ve opted for here is splitting the domain name at each . and checking if the last item exactly matches any of the items in your listOfTLDs


The notifier at the end was simply a way of seeing if it had worked while I was testing. This block has been disabled in the .aia file I shared.

Finally the btnGo.Click event is modified to handle what we should do if the user has typed in a valid domain name.

One thing that I forget to mention is that the way this is coded it will no longer accept GET requests or copy and pasting long URLs (this might be a deal breaker for some of you!) I’ll find a way to restore this functionality in a future update, but if you have to have this in your browser you will need to find a better way to match the domain names.

That’s it for this update. Hope you like it and keep the suggestions coming!


Thunkable is it possible to add online firebase links
#14

not work properly
when you search some words in this browser
just like song
you can’t search ‘song’ in this browser


#15

Are you using the latest version? The first release didn’t have this feature, but the latest one does. Can you upload a screen shot of what it looks like when you search for “song”?

Thanks!


#16

No actually. All features are possible to make (besides app shortcuts)


#17

I’ve created a webview application,

and I use the url example https://facebook.com

but can not upload images or video or other files.
I’m using android version 4.4 (Kitkat)

sorry my english


#18

Monthly Update?? Tabs!!

Thanks for all your requests, I think @Shivendra_Kr_Sahu was first to ask for this? I’ve added the latest update to the first post - I think it’s neater if everything goes in the changelog so scroll up to the top, or if you’re feeling super lazy then just click on the card below to be redirected!

Creating “Tabs”

A lot of people [citation needed] have requested this, and one of the most common approaches seems to have been “Let’s just add in loads of WebViewers” which is fine where you only need two or three tabs.

Fun Fact: Once you open your 100th tab in Chome that little number changes into a smiley face. I’ve left this as an exercise for you to try yourselves! :smile:

What I’ve gone for instead is a list of all open tabs that you can navigate through, and just use the one WebViewer. It’s not going to win any design awards, but it gives the impression of tabs.

New Blocks in this update

In order to add in the Tabs_List_Picker I had to get rid of the “Go” button, but what self-respecting browser has a Go button these days anyway? The perfect way to replace it was by using @Taifun’s TextBox extension, this way clicking enter on the keyboard starts the whole process of opening the page you want. Check it our for yourself here:
https://puravidaapps.com/textbox.php

There’s aren’t too many new blocks in this update. Firstly I created a new list for the URLs that would be displayed as tabs and I also started the “EnterPressedListener” (that bit is important! :wink:)

New “tabs” get added provided they don’t already exist, and the number of open tabs is displayed on the button, just like Chrome! I think that using parallel lists and WebViewer1.Current Title instead of WebViewer1.Current Url like I’ve used here would be a better looking approach, but I just wanted to get it working for now.

Finally, this is how I handled new tabs or old tabs:

Next item on my agenda is adding in a proper history/bookmarking system, but don’t let that stop you from making more suggestions!


I have a problem in using Web Veiwer
#23

Problem when search word which listed in CSV list



#24

thanks for pointing this out - I’ll see if I can get it fixed in time for next month’s update. It is and open source project though so if anyone wants to contribute then feel free to post a suggestion.


#25

but when?


#26

Sometime in February.


#27

OK sir but as you know Iam waiting


#28

Why it’s shows screen if u use it…It doesn’t look gud…Is there any way to chane it???


#29

Are you talking about the browser or three action bar?


#30

If u use action bar extension…It’s screen mentioned by default…Can v change it…??


#31

If you have a question about the Action Bar extension you should be asking here:

This topic is about the Thunksten browser.


#34

I did not mean that sir Iam really so sorry for that post😷


#35

I did the tabs feature last month??


#39

Tabs are working perfect. This was an awesome idea, adding tabs. But how to
delete tabs?


#40

whenever I am changing Tabs page reload itsself. Why is this happening and how to stop it :blush: ?


#41

Hi guys! I found an error in your app: if you type an url, etc. thunkable.com, webviewer works correctly. But if you type an url containing a slash for example thunkable.com/#/login, the webviewer only searches for it.