From 20d0becba9746b11a0696240dc9eab6fabf15d80 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Tue, 28 Mar 2023 11:32:47 -0600 Subject: chore: more upkeep. In particular, document wyebadblock better --- README.md | 12 +++++++++--- config.h | 11 ----------- license | 2 +- rose.c | 10 ---------- user-scripts/ubuntu-20.04/install-with-dependencies.sh | 4 ++++ 5 files changed, 14 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 3205ad6..04edaea 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,16 @@ You can see some screenshots in the [screenshots](./screenshots) folder. - tabs, cookies, caching - minimal ui, autohiding elements -- ~467L core code (the rose.c file), plus plugins +- ~467L core code (the rose.c file) - custom gtk and websites css - builtin rose-mklink script for in-shell static links - A few quality of life improvements. + - Optional adblocking through [wyebadblock](https://github.com/jun7/wyebadblock) + - Plugin system: + - Libre redirect: Redirect annoying websites to open source frontends + - Readability: Strip webpages of unnecessary elements for ease of reading with a custom shortcut + - Custom style: Override the css of predetermined websites + - Stand in plugin: Mimick function definitions which do nothing for the above plugins so that they can be quickly removed ### šŸ‘ Contribute @@ -24,7 +30,6 @@ You can see some screenshots in the [screenshots](./screenshots) folder. ### To do -- [ ] Look into using a makefile. - [ ] Look at using relative rather than absolute paths - [ ] Figure out if downloading files is doable. - [ ] Figure out better way to have plugins @@ -34,10 +39,11 @@ You can see some screenshots in the [screenshots](./screenshots) folder. - [ ] Use something other than Whatsapp as an example syslink. - [ ] Set `webkit_web_context_set_sandbox_enabled` (), as recommended here: . - [ ] Fix bug about distorted audio. Maybe related to -- [x] Mask user agent Done: +- [x] Mask user agent +- [x] Use a makefile. - [x] Launch with more than one tab from command line - [x] Figure out merge with upstream - [x] String substitution on uri in order to redirect to better frontends. diff --git a/config.h b/config.h index 7a4e3bf..6dde0c7 100644 --- a/config.h +++ b/config.h @@ -1,14 +1,3 @@ -/* - * Copyright (c) 2022 NuƱo Sempere. - * - * Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and any associated documentation - * files to modify, copy, merge, publish, distribute and/or - * sublicense copies of this sotware for their own use. - * This code does not come with any warranty. - * - */ - #include #include diff --git a/license b/license index d849dad..1f76182 100644 --- a/license +++ b/license @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022-2023 mini-rose +Copyright (c) 2022-2023 NuƱo Sempere Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/rose.c b/rose.c index d034455..454fc55 100644 --- a/rose.c +++ b/rose.c @@ -1,13 +1,3 @@ -/* - * Copyright (c) 2022 mini-rose - * - * Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and any associated documentation - * files to modify, copy, merge, publish, distribute and/or - * sublicense copies of this sotware for their own use. - * This code does not come with any warranty. - * - */ #include #include // necessary for free, malloc. #include diff --git a/user-scripts/ubuntu-20.04/install-with-dependencies.sh b/user-scripts/ubuntu-20.04/install-with-dependencies.sh index 940abe1..1cdb7cf 100644 --- a/user-scripts/ubuntu-20.04/install-with-dependencies.sh +++ b/user-scripts/ubuntu-20.04/install-with-dependencies.sh @@ -9,6 +9,10 @@ cd wyebadblock make sudo make install cd .. +mkdir -p ~/.config/wyebadblock +cd ~/.config/wyebadblock +wget https://easylist.to/easylist/easylist.txt +cd - # Rose config user=$(whoami) -- cgit v1.2.3