chore: more upkeep. In particular, document wyebadblock better
This commit is contained in:
parent
37e3e7bcae
commit
20d0becba9
12
README.md
12
README.md
|
@ -12,10 +12,16 @@ You can see some screenshots in the [screenshots](./screenshots) folder.
|
||||||
|
|
||||||
- tabs, cookies, caching
|
- tabs, cookies, caching
|
||||||
- minimal ui, autohiding elements
|
- 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
|
- custom gtk and websites css
|
||||||
- builtin rose-mklink script for in-shell static links
|
- builtin rose-mklink script for in-shell static links
|
||||||
- A few quality of life improvements.
|
- 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
|
### 👐 Contribute
|
||||||
|
|
||||||
|
@ -24,7 +30,6 @@ You can see some screenshots in the [screenshots](./screenshots) folder.
|
||||||
|
|
||||||
### To do
|
### To do
|
||||||
|
|
||||||
- [ ] Look into using a makefile.
|
|
||||||
- [ ] Look at using relative rather than absolute paths
|
- [ ] Look at using relative rather than absolute paths
|
||||||
- [ ] Figure out if downloading files is doable.
|
- [ ] Figure out if downloading files is doable.
|
||||||
- [ ] Figure out better way to have plugins
|
- [ ] 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.
|
- [ ] Use something other than Whatsapp as an example syslink.
|
||||||
- [ ] Set `webkit_web_context_set_sandbox_enabled` (<https://webkitgtk.org/reference/webkit2gtk/2.36.8/WebKitWebContext.html#webkit-web-context-set-sandbox-enabled>), as recommended here: <https://blogs.gnome.org/mcatanzaro/2022/11/04/stop-using-qtwebkit/>.
|
- [ ] Set `webkit_web_context_set_sandbox_enabled` (<https://webkitgtk.org/reference/webkit2gtk/2.36.8/WebKitWebContext.html#webkit-web-context-set-sandbox-enabled>), as recommended here: <https://blogs.gnome.org/mcatanzaro/2022/11/04/stop-using-qtwebkit/>.
|
||||||
- [ ] Fix bug about distorted audio. Maybe related to <https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1547>
|
- [ ] Fix bug about distorted audio. Maybe related to <https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1547>
|
||||||
- [x] Mask user agent
|
|
||||||
|
|
||||||
Done:
|
Done:
|
||||||
|
|
||||||
|
- [x] Mask user agent
|
||||||
|
- [x] Use a makefile.
|
||||||
- [x] Launch with more than one tab from command line
|
- [x] Launch with more than one tab from command line
|
||||||
- [x] Figure out merge with upstream
|
- [x] Figure out merge with upstream
|
||||||
- [x] String substitution on uri in order to redirect to better frontends.
|
- [x] String substitution on uri in order to redirect to better frontends.
|
||||||
|
|
11
config.h
11
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 <gdk/gdkkeysyms.h>
|
#include <gdk/gdkkeysyms.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
|
2
license
2
license
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
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
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
10
rose.c
10
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 <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdlib.h> // necessary for free, malloc.
|
#include <stdlib.h> // necessary for free, malloc.
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -9,6 +9,10 @@ cd wyebadblock
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
cd ..
|
cd ..
|
||||||
|
mkdir -p ~/.config/wyebadblock
|
||||||
|
cd ~/.config/wyebadblock
|
||||||
|
wget https://easylist.to/easylist/easylist.txt
|
||||||
|
cd -
|
||||||
|
|
||||||
# Rose config
|
# Rose config
|
||||||
user=$(whoami)
|
user=$(whoami)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user