[epiphany/gnome-3-38] Disable reader mode URI scheme



commit 29843cdbe406ead409caa6c03ab625ca983facf1
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Thu Dec 16 10:46:41 2021 -0600

    Disable reader mode URI scheme
    
    It is unsafe and not going to be fixed for GNOME 3.38

 embed/ephy-embed-shell.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 504cb2742..032f5112e 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -932,11 +932,13 @@ ephy_embed_shell_startup (GApplication *application)
                                           (WebKitURISchemeRequestCallback)pdf_request_cb,
                                           shell, NULL);
 
+#if 0
   /* reader mode handler */
   priv->reader_handler = ephy_reader_handler_new ();
   webkit_web_context_register_uri_scheme (priv->web_context, EPHY_READER_SCHEME,
                                           (WebKitURISchemeRequestCallback)reader_request_cb,
                                           shell, NULL);
+#endif
 
   /* ephy-resource handler */
   webkit_web_context_register_uri_scheme (priv->web_context, "ephy-resource",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]