Skip to content

Use +js name for logging #209

@joey04

Description

@joey04

Prerequisites

  • I verified that this is not a filter issue
  • This is not a support issue or a question
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
    • Your issue may already be reported.
  • I tried to reproduce the issue when...
    • uBlock Origin is the only extension
    • uBlock Origin with default lists/settings
    • using a new, unmodified browser profile
  • I am running the latest version of uBlock Origin
  • I checked the documentation to understand that the issue I report is not a normal behavior

Description

This is a suggestion to change script:inject logging to the new +js name, because it's shorter and thus allows the inject parameters to be more visible. Plus uAssets recently converted to the new name.

I've been logging with +js in my fork since March. The only extra item needed is a small reverse-lookup converter, like this.


I also suggest changing the logged type to script instead of dom. It has the advantage of better text filtering, e.g. using script| to see all script activity or !|dom to hide all cosmetics while still seeing injects.

(I also changed the ^script:has-text log type to inline-script for the same reasons.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfixedissue has been addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions