joelshepherd / tabliss

A beautiful, customisable New Tab page for Firefox, Chrome, and Edge.
https://tabliss.io
GNU General Public License v3.0
2.28k stars 298 forks source link

Jokes Widget? #483

Open Yohn opened 2 years ago

Yohn commented 2 years ago

I just stumbled upon this API a little bit ago and thought it would be a nice addition to your extension.

https://jokeapi.dev/#try-it

You can fetch a JSON array, with a bunch of different variables that could be set, and we could have multiple jokes pulled at once - up to 10 it seems. It would be awesome if we could select the categories and what to flag as well since the options are there

I started looking to see if there was any way to do allow custom RSS feeds and did find one but CORS got in the way. I'm hoping that's not the case with this, but it does load on CORS Anywhere

I saw you have the JavaScript plugin enabled on your web version, that's awesome! Would a custom HTML block be possible as well? Or maybe an iframe to a page we specify?

Thanks for the awesome extension! Been using it for maybe 6 months or so and have been really liking it!

joelshepherd commented 2 years ago

It looks like their API supports CORS. So that shouldn't be an issue

image