aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/plugins.mk14
-rw-r--r--plugins/stand_in/stand_in.c3
-rw-r--r--plugins/stand_in/stand_in.h1
3 files changed, 18 insertions, 0 deletions
diff --git a/plugins/plugins.mk b/plugins/plugins.mk
new file mode 100644
index 0000000..f95cac7
--- /dev/null
+++ b/plugins/plugins.mk
@@ -0,0 +1,14 @@
+## Plugins
+CUSTOM_STYLES=./plugins/style/style.c
+SHORTCUTS=./plugins/shortcuts/shortcuts.c
+READABILITY=./plugins/readability/readability.c
+LIBRE_REDIRECT=./plugins/libre_redirect/libre_redirect.c ./plugins/libre_redirect/str_replace_start.c ./plugins/libre_redirect/str_init.c
+
+ADBLOCK='-L/usr/lib/wyebrowser/adblock.so' # optional adblocking; depends on https://github.com/jun7/wyebadblock
+
+STAND_IN=./plugins/stand_in/stand_in.c # gives function definitions for the above, which do nothing
+
+PLUGINS=$(CUSTOM_STYLES) $(SHORTCUTS) $(READABILITY) $(LIBRE_REDIRECT)
+# PLUGINS=$(STAND_IN)
+
+
diff --git a/plugins/stand_in/stand_in.c b/plugins/stand_in/stand_in.c
index dbcc7e8..cb8c487 100644
--- a/plugins/stand_in/stand_in.c
+++ b/plugins/stand_in/stand_in.c
@@ -25,3 +25,6 @@ void read_style_js(char* string){
}
+int shortcut_expand(const char* uri, char* output){
+ return 0;
+}
diff --git a/plugins/stand_in/stand_in.h b/plugins/stand_in/stand_in.h
index 062acf7..10f4283 100644
--- a/plugins/stand_in/stand_in.h
+++ b/plugins/stand_in/stand_in.h
@@ -21,3 +21,4 @@ void read_readability_js(char* string);
void read_style_js(char* string);
+int shortcut_expand(const char* uri, char* output);