Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility of deminifier with my addon #4

Open
piotrex opened this issue Sep 25, 2013 · 0 comments
Open

Incompatibility of deminifier with my addon #4

piotrex opened this issue Sep 25, 2013 · 0 comments

Comments

@piotrex
Copy link

piotrex commented Sep 25, 2013

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant