ComputerCraft Forums

ComputerCraft => Programs => Topic started by: SamH on Jul 11, 2020, 07:45 PM

Poll
Question: To Do
Option 1: HTML tables votes: 0
Option 2: basic CSS votes: 3
Option 3: basic Javascript votes: 5
Option 4: I Frames votes: 0
Option 5: Working Links votes: 3
Option 6: Other (send in replys) votes: 0
Option 7: Nothing votes: 0
Title: CC WebBrowser 1.0.0
Post by: SamH on Jul 11, 2020, 07:45 PM
CC WebBrowser 1.0.0

Hello wonderful Computercraft Forums!
Today I make a wonderful web browser
Currently you can only view single paged websites some may be a mess

No pics , no clicks. No problem!


Website viewed in CC

(https://camo.tmpim.com/67f0617ebe92dd1196e60464d18dccf9b7d1972c/68747470733a2f2f64726976652e676f6f676c652e636f6d2f75633f6578706f72743d646f776e6c6f616426616d703b69643d313758446e34546a5a664b39636d5a5148414659424855695332444f4d732d7072)

(https://camo.tmpim.com/9f2c6c982c684afb204837180d6f26015f1c66c9/68747470733a2f2f64726976652e676f6f676c652e636f6d2f75633f6578706f72743d646f776e6c6f616426616d703b69643d31646a53614e78384f4b51443541344d53537047764f3243646770574c6e68306b)

(https://camo.tmpim.com/bb15bce44eb9254493385b5f0c935f9545978080/68747470733a2f2f64726976652e676f6f676c652e636f6d2f75633f6578706f72743d646f776e6c6f616426616d703b69643d31394953335442576d67504531334657336e7a524c4266615371674f4a526b6175)

Website viewed on real browser

(https://camo.tmpim.com/0c0b4e33fd133992d6ce8df9cb5d471815922fd6/68747470733a2f2f64726976652e676f6f676c652e636f6d2f75633f6578706f72743d646f776e6c6f616426616d703b69643d312d71733231587534785353417742496d4b336971784b774f715f504532624363)

Download ?
pastebin get 964NZUAU ccbrowser
Bugs ?
Probably a few, however I squashed most of them,
You can help squash them to!

You can support by programming the popular poll options!
And reply with a pastebin or Github link!
Title: CC WebBrowser 1.0.0
Post by: SamH on Jul 11, 2020, 07:51 PM
Image links are
https://drive.google.com/file/d/17XDn4TjZfK9cmZQHAFYBHUiS2DOMs-pr/view?usp=sharing (Progr = program)
https://drive.google.com/file/d/1djSaNx8OKQD5A4MSSpGvO2CdgpWLnh0k/view?usp=sharing
https://drive.google.com/file/d/19IS3TBWmgPE13FW3nzRLBfaSqgOJRkau/view?usp=sharing
https://drive.google.com/file/d/1-qs21Xu4xSSAwBImK3iqxKwOq_PE2bCc/view?usp=sharing
Title: CC WebBrowser 1.0.0
Post by: Lupus590 on Jul 11, 2020, 10:15 PM
I found this tool which will allow you to generate image links that will work with the forum, I've edited your post to do the first one as a proof that it works.

https://sites.google.com/site/gdocs2direct/
Title: CC WebBrowser 1.0.0
Post by: SamH on Jul 12, 2020, 09:03 AM
Thank you!
Title: CC WebBrowser 1.0.0
Post by: Ocawesome101 on Jul 12, 2020, 05:43 PM
Rather important question: does this browser work with any webpage, or just those specifically built for it?

Unrelated, less important question: how long have you been working on this? It looks neat, though the images unfortunately don't load for me on mobile.
Title: CC WebBrowser 1.0.0
Post by: QuickMuffin8782 on Jul 14, 2020, 01:09 PM
Erm... the images don't show up on my screen. They seem broken again...
It's fixed. That tool sure helps.
Title: CC WebBrowser 1.0.0
Post by: SamH on Jul 16, 2020, 03:49 PM
Just try clicking on the links form me , they are the images
Title: CC WebBrowser 1.0.0
Post by: SamH on Jul 18, 2020, 10:26 AM
Wow 1,243 views on Pastebin !
Title: CC WebBrowser 1.0.0
Post by: pjals on Jul 19, 2020, 10:53 AM
Very nice !
Title: CC WebBrowser 1.0.0
Post by: Ryoman on Jul 22, 2020, 03:28 AM
This Looks Really Cool But Im Having Trouble Finding Pages That Work Well With This
Title: CC WebBrowser 1.0.0
Post by: Ryoman on Jul 22, 2020, 03:36 AM
also i found a bug. trying to load the demo page gives me a 404 error
Title: CC WebBrowser 1.0.0
Post by: Ryoman on Jul 22, 2020, 03:39 AM
i also have a suggestion: can you make it so i can load local HTML files? this way i can make somthing thats compatible
Title: CC WebBrowser 1.0.0
Post by: Lemmmy on Jul 23, 2020, 02:38 PM
I fixed your images - you were using 'http' instead of 'https' for the URLs
Title: CC WebBrowser 1.0.0
Post by: QuickMuffin8782 on Aug 08, 2020, 05:30 AM
OOF, looks like your pastebin is broken...
Title: CC WebBrowser 1.0.0
Post by: Lupus590 on Aug 08, 2020, 02:55 PM
Quote from: QuickMuffin8782 on Aug 08, 2020, 05:30 AMOOF, looks like your pastebin is broken...
Pastebin has been broken for everyone the past couple of days
Title: CC WebBrowser 1.0.0
Post by: QuickMuffin8782 on Aug 10, 2020, 05:43 AM
Quote from: SamH on Jul 11, 2020, 07:45 PM-snip-

Make sure you get the Bigfont api, as shown on the old fourms, cause, i think it might be helpful...
Title: CC WebBrowser 1.0.0
Post by: QuickMuffin8782 on Aug 10, 2020, 05:47 AM
Quote from: Lupus590 on Aug 08, 2020, 02:55 PM
Quote from: QuickMuffin8782 on Aug 08, 2020, 05:30 AMOOF, looks like your pastebin is broken...
Pastebin has been broken for everyone the past couple of days

Yeah, found out about that. I saw a 503 error on the server.

Focusing on the code now, it looks good to run the html processing.
Title: CC WebBrowser 1.0.0
Post by: QuickMuffin8782 on Aug 18, 2020, 02:44 PM
Quote from: Ryoman on Jul 22, 2020, 03:36 AMalso i found a bug. trying to load the demo page gives me a 404 error
Possibly, because the creator, probably did not put the html in the program for the demo, and it resulted as the error.
Title: CC WebBrowser 1.0.0
Post by: SamH on Oct 07, 2020, 06:39 PM
Hello everyone I going to start making a version 2, which will work better for other pages then the demo page (which is not in this version)
Title: CC WebBrowser 1.0.0
Post by: SamH on Oct 07, 2020, 06:41 PM
Also the demo page on this is hosted on my not 24/7 webserver
Title: CC WebBrowser 1.0.0
Post by: QuickMuffin8782 on Oct 08, 2020, 10:33 AM
Good news, I'll develop a application for iGP OS (built-in) to run the browser. It'll auto update the pastebin and then it'll run the browser.
Title: CC WebBrowser 1.0.0
Post by: QuickMuffin8782 on Oct 20, 2020, 03:32 PM
Quote from: SamH on Oct 07, 2020, 06:41 PMAlso the demo page on this is hosted on my not 24/7 webserver
K.