feren-OS / feren-os.github.io

Page for some parts of Feren OS, such as the Start Page.
GNU General Public License v3.0
7 stars 4 forks source link

New Feature: Modifiable Tiles #1

Closed ItsJamie9494 closed 4 years ago

ItsJamie9494 commented 4 years ago

This PR contains code allowing for a user to modify the tiles shown on the Start Page. It has a way to show custom images for tiles, which are either created by my service, https://placeholderimagegenerator.000webhostapp.com or can be defined in the tiles.js file.

It uses cookies to store the URLs. With this PR, the start page will create 8 new cookies to store website titles. You could add this to the cookie notice, as I did not.

Also, when generating the image from my service, if HTTP:// or HTTPS:// is added, the second slash is dropped, making HTTP:/example.com instead of HTTP://example.com. I can fix this if needed.

To change the background of images, please visit the service homepage, as it describes how to modify the image.

dominichayesferen commented 4 years ago

I'll merge so your commits count as a credited thing, and then I'll override everything with the edited commits after.