Url-Shorten-Worker Pastebin Theme Guide

The original author of Url-Shorten-Worker designed it to support different themes from the start. It works by loading different index.html files.

By default it's empty, which means it loads the default index.html from the Repo root directory.

We create a new directory under theme called pastebin, then copy an index.html into it, and make some modifications based on that.

Since this is for use as an online notepad PasteBin, the value often involves large blocks of text, so I changed it to a textarea element.

The final result is as follows,


========

End

Github: https://github.com/crazypeace/Url-Shorten-Worker

Demo: https://pastebin.icdyct.cloudns.asia/tieludasiliqiuweiyue 

Comments