Random Jokes Chrome Extension fetches and displays random jokes in your browser using the icanhazdadjoke API. Each time you click the extension icon, you get a new joke. It is compatible with multiple browsers including Chrome, Firefox, Edge, Safari, Opera, and Yandex. :contentReference[oaicite:0]{index=0}
- Fetches random jokes from an API endpoint (
https://icanhazdadjoke.com/slack). :contentReference[oaicite:1]{index=1} - Simple and lightweight browser extension.
- Works with most modern browsers (Chrome, Firefox, Safari, Edge, Opera, Yandex). :contentReference[oaicite:2]{index=2}
The extension uses the icanhazdadjoke API to retrieve jokes in JSON format. The relevant part of the API response (the joke text) is extracted using JavaScript and displayed in the extension UI. :contentReference[oaicite:3]{index=3}
API Reference:
https://icanhazdadjoke.com/slack
Example response structure (simplified):
{
"attachments": [
{
"text": "Here’s a random joke for you!"
}
]
}
