Skip to content

Incompatibility of deminifier with my addon #4

@piotrex

Description

@piotrex

Hello rbudiharso,

I develop Firefox extension that can i.a. view links from console in tab instead in window. I would like use view-source: protocol (because it's very clear what file is viewed) instead of original viewSource.xul

However when Javascript View is enabled it affects for view-source: and there is an incompatibility in my addon which concerning to going to specified from console line number. The addon beatify JS code and add extra new lines so I can't know to which line I should go.

One of possibilities would be that you create an API that allow me disable deminifing and beautifying code or anything else so it won't interferes with my addon please. (e.g. not deminifing all view-source: pages and support from your addon highlighting in View Source window)

Example implementation of API is in my pull request

If you are curious my addon, it's here; to get working links from console you need tick View Source in options and enable Advanced Rules. (my code executed when view-source: url is opened is located in .\modules\overlay-scripts\viewSourceProtocol.js)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions