#ifndef EXTENSIONS_EXTENSIONS_H
#define EXTENSIONS_EXTENSIONS_H

#include "core/profile.h"
#include <gtk/gtk.h>
#include <webkit2/webkit2.h>

// Initialize extensions for a profile
void extensions_init(Profile *profile);

// Attach extensions to a webview (inject scripts, connect signals)
void extensions_attach(WebKitWebView *webview, Profile *profile);

// Individual extension interfaces
char *darkreader_get_script(void);
char *sponsorblock_get_script(void);
gboolean adblock_should_block(const char *uri);

#endif
