You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: