From 63dbc2c301629718ea866ac4f09398b96499a44c Mon Sep 17 00:00:00 2001 From: MasterKia Date: Tue, 14 Mar 2023 17:27:32 +0330 Subject: [PATCH] Create "Code viewer" --- Code-viewer.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Code-viewer.md diff --git a/Code-viewer.md b/Code-viewer.md new file mode 100644 index 0000000..50b2948 --- /dev/null +++ b/Code-viewer.md @@ -0,0 +1,7 @@ +See: +- https://github.com/uBlockOrigin/uBlock-issues/wiki/The-logger#source-code-viewer +- https://github.com/uBlockOrigin/uBlock-issues/wiki/Advanced-settings#filterauthormode + +Investigating filter issues can be a serious time sink, and to help with this, a code viewer has been added to uBO. The code viewer will automatically beautify HTML/CSS/JS code, which should be an improvement over the browser built-in view-source tool. + +You can view beautified source code of HTML/CSS/JS resources when clicking the link in a logger entry. Additionally, if the [advanced setting `filterAuthorMode`](https://github.com/gorhill/uBlock/wiki/Advanced-settings#filterauthormode) is set to true, an entry labelled _View source code..._ will be added to the context menu, so that you can view the source code of any page/resource without having to open the logger. \ No newline at end of file