Add support for news.ycombinator.com adhoc css - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
(HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset ca342459b76896b379a78013831ae8123fc6542a
(DIR) parent e950d7323e554850b4dfb6271b0790e1c127ae85
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Thu, 6 Jun 2019 12:06:37
Add support for news.ycombinator.com adhoc css
Diffstat:
wip/surf-git/patch-config.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff -r e950d7323e55 -r ca342459b768 wip/surf-git/patch-config.h
--- a/wip/surf-git/patch-config.h Wed Jun 05 09:34:16 2019 +0200
+++ b/wip/surf-git/patch-config.h Thu Jun 06 12:06:37 2019 +0200
@@ -1,6 +1,6 @@
--- /dev/null 2019-06-03 18:40:00.341169522 +0200
+++ config.h 2019-06-03 18:39:16.301339328 +0200
-@@ -0,0 +1,208 @@
+@@ -0,0 +1,209 @@
+/* modifier 0 means no modifier */
+static int surfuseragent = 0; /* Append Surf version to default WebKit user agent */
+static char *fulluseragent = "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"; /* Or override the whole user agent string */
@@ -116,6 +116,7 @@
+ { "://www\\.internazionale\\.it/", "internazionale.css" },
+ { "://hackernoon\\.com/", "medium.css" },
+ { "://medium\\.com/", "medium.css" },
++ { "://news\\.ycombinator\\.com/", "hackernews.css" },
+ { "://nvd\\.nist\\.gov/", "nvd.css" },
+ { "://www\\.nytimes\\.com/", "nytimes.css" },
+ { "://www\\.ondarock\\.it/", "ondarock.css" },