JSView 2.1.3 PM v27.1
Moderators: Indalecio, satrow, Lootyhoof, Andrew Gilbertson
-
tmtisfree
- Apollo supporter

- Posts: 47
- Joined: Sat Apr 18, 2015 5:05 pm
- Location: NICE
JSView 2.1.3 PM v27.1
Hi,
A working version of the good old JSView, a simple but powerful JS/CSS viewer for developers, revived for Pale Moon v27.1 (not tested on anything else).
Cheers,
TMTisFree
A working version of the good old JSView, a simple but powerful JS/CSS viewer for developers, revived for Pale Moon v27.1 (not tested on anything else).
Cheers,
TMTisFree
You do not have the required permissions to view the files attached to this post.
-
Moonchild
- Pale Moon guru

- Posts: 19122
- Joined: Sun Aug 28, 2011 5:27 pm
- Location: 58.5°N 15.5°E
Re: JSView 2.1.3 PM v27.1
(GPL v2.0 licensed.) If this works, you should get it included on the Pale Moon add-ons site and offer maintenance for it.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.


-
New Tobin Paradigm
- Knows the dark side

- Posts: 3791
- Joined: Tue Oct 09, 2012 7:37 pm
Re: JSView 2.1.3 PM v27.1
Ensure the ID and branding has been changed to avoid technical and rights issues and follow: http://developer.palemoon.org/Add-ons:Site
[ T O B I N W A V E ]
-
tmtisfree
- Apollo supporter

- Posts: 47
- Joined: Sat Apr 18, 2015 5:05 pm
- Location: NICE
Re: JSView 2.1.3 PM v27.1
Matt A Tobin wrote:Ensure the ID and branding has been changed to avoid technical and rights issues and follow: http://developer.palemoon.org/Add-ons:Site
Thank you for the guidance.
Here is an updated version with your suggestion (new ID and name for inclusion in the Pale Moon add-ons repository:
Add-on Name: JSView Revive
64x64 alpha transparent PNG icon:
Author Name: Ron Beckman (Pale Moon - TMTisFree)
Slug Name: jsview-revive
Short Description: View the source code of external js and css files
Long Description: View the source code of external js and css files. Version adapted to work with Pale Moon v27 with cosmetic changes.
Initial XPI:
FTP User name: TMTisFree
Changelog for JSView post version 2.1.1 (TMTisFree)
JSView 2.1.2 (20151012):
+ Reverted back to GECKO < 27
+ Pale Moon support
+ Enhanced interface
JSView 2.1.3 (20170212):
+ Reverted back (once more) to GECKO > 27
+ Pale Moon 27 support
+ Enhanced Fr translation
JSView Revive 2.1.4 (20170213):
+ renamed as JSView Revive per Pale Moon support team request
+ changed ID for inclusion in Pale Moon add-on repository
+ cosmetic changes (some window titles not set; size columns in info window right-justified)
+ replaced the broken Mozilla add-on page URL with a link to the Pale Moon forum (will be changed to the Pale Moon repository link once added in)
+ Enhanced Fr translation
You do not have the required permissions to view the files attached to this post.
-
New Tobin Paradigm
- Knows the dark side

- Posts: 3791
- Joined: Tue Oct 09, 2012 7:37 pm
Re: JSView 2.1.3 PM v27.1
you need to send it to one of the add-ons team via private message not a post..
[ T O B I N W A V E ]
-
Lootyhoof
- Themeist

- Posts: 823
- Joined: Thu Feb 09, 2012 11:35 pm
- Location: United Kingdom
Re: JSView 2.1.3 PM v27.1
This should be fine for inclusion, however there is one small issue...
In install.rdf you have minVersion as 26.9. As this add-on is made for 27.1.0 and above, you should change the minVersion to reflect that.
In install.rdf you have minVersion as 26.9. As this add-on is made for 27.1.0 and above, you should change the minVersion to reflect that.
-
tmtisfree
- Apollo supporter

- Posts: 47
- Joined: Sat Apr 18, 2015 5:05 pm
- Location: NICE
Re: JSView 2.1.3 PM v27.1
Lootyhoof wrote:This should be fine for inclusion, however there is one small issue...
In install.rdf you have minVersion as 26.9. As this add-on is made for 27.1.0 and above, you should change the minVersion to reflect that.
I have tested it on 27.0 and it works fine. The problem is Pale Moon refuses to install it on 27.* it I set the minVersion at 27.0.
As chance that there will ever be a Pale Moon 26.9 is near zero, I assume it is safe.
To be extra-safe, I have changed it to 26.99 in the next iteration. See below.
JSView Revive 2.1.5 (20170214):
+ updated the install minVersion to 26.99 to be extra safe
+ added missing product label and tooltip in toolbarpalette
+ remove the unused FF overlay file (and reference in chrome.manifest)
+ added reference to Pale Moon forum topic in install.rdf (homepageURL)
Cheers,
TMTisFree
You do not have the required permissions to view the files attached to this post.
-
tmtisfree
- Apollo supporter

- Posts: 47
- Joined: Sat Apr 18, 2015 5:05 pm
- Location: NICE
Re: JSView 2.1.3 PM v27.1
Matt A Tobin wrote:you need to send it to one of the add-ons team via private message not a post..
Sorry, I though 'PM' was mean to be Pale Moon, not private message...
Thanks,
TMTisFree
-
GreenGeek
- Fanatic

- Posts: 214
- Joined: Sun Sep 11, 2016 4:36 pm
Re: JSView 2.1.3 PM v27.1
But I think LootyHoof was making the point that it needs the ".1.0" release to work. So, setting it to 27.0.9 (or 99 if you pefer) would prevent it from being installed on 27.0.3 and earlier.
-
tmtisfree
- Apollo supporter

- Posts: 47
- Joined: Sat Apr 18, 2015 5:05 pm
- Location: NICE
Re: JSView 2.1.3 PM v27.1
GreenGeek wrote:But I think LootyHoof was making the point that it needs the ".1.0" release to work. So, setting it to 27.0.9 (or 99 if you pefer) would prevent it from being installed on 27.0.3 and earlier.
I quote myself:
I have tested it on 27.0 and it works fine. The problem is Pale Moon refuses to install it on 27.* it I set the minVersion at 27.0.
-
New Tobin Paradigm
- Knows the dark side

- Posts: 3791
- Joined: Tue Oct 09, 2012 7:37 pm
-
tmtisfree
- Apollo supporter

- Posts: 47
- Joined: Sat Apr 18, 2015 5:05 pm
- Location: NICE
Re: JSView 2.1.3 PM v27.1
Matt A Tobin wrote:Set it to 27.0.0 then
This works, thank you!
-
tmtisfree
- Apollo supporter

- Posts: 47
- Joined: Sat Apr 18, 2015 5:05 pm
- Location: NICE
Re: JSView 2.1.3 PM v27.1
JSView is now located on the Pale Moon Add-ons Site:
https://addons.palemoon.org/extensions/jsview-revive/
https://addons.palemoon.org/extensions/jsview-revive/
-
oTPS0
- Newbie

- Posts: 4
- Joined: Sat Feb 28, 2015 6:55 pm
Re: JSView 2.1.3 PM v27.1
tmtisfree wrote:Hi,
A working version of the good old JSView, a simple but powerful JS/CSS viewer for developers, revived for Pale Moon v27.1 (not tested on anything else).
Cheers,
TMTisFree
Thanks very much!
Do you have the source online anyplace? Else, you're welcome to contribute to/fork from https://github.com/rejuvenate/JSView, so more folks can help/benefit!
-
karlkracher
- Moongazer

- Posts: 11
- Joined: Sat Dec 05, 2015 5:40 pm
- Location: germany
Re: JSView 2.1.3 PM v27.1
Great, thank you.
I selected the exe file of an external editor (i.e. C:\Program Files\KEDITW\KEDITW32.exe) but it only says "editor not found, please check the path" and than opens the file in a pale moon window.
The browser console says:
[Exception... "Not enough arguments [nsIWebBrowserPersist.saveURI]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: chrome://jsview/content/jsviewExternal.js :: jsviewExternal.openInExternalEditor :: line 96" data: no] jsviewExternal.js:111:0
I selected the exe file of an external editor (i.e. C:\Program Files\KEDITW\KEDITW32.exe) but it only says "editor not found, please check the path" and than opens the file in a pale moon window.
The browser console says:
[Exception... "Not enough arguments [nsIWebBrowserPersist.saveURI]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: chrome://jsview/content/jsviewExternal.js :: jsviewExternal.openInExternalEditor :: line 96" data: no] jsviewExternal.js:111:0
-
GMforker
- Lunatic

- Posts: 317
- Joined: Thu Aug 27, 2015 6:29 am
- Location: Czech Republic
Re: JSView 2.1.3 PM v27.1
karlkracher wrote:[Exception... "Not enough arguments [nsIWebBrowserPersist.saveURI]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: chrome://jsview/content/jsviewExternal.js :: jsviewExternal.openInExternalEditor :: line 96" data: no] jsviewExternal.js:111:0
Code: Select all
webBrowserPersist.saveURI(uri, null, null, null, null, file, null);vs.
Code: Select all
webBrowserPersist.saveURI(uri, null, null, Components.interfaces.nsIHttpChannel.REFERRER_POLICY_NO_REFERRER_WHEN_DOWNGRADE, null, null, file, null);See also bug #704320
Last edited by GMforker on Thu Mar 02, 2017 4:26 pm, edited 1 time in total.
-
tmtisfree
- Apollo supporter

- Posts: 47
- Joined: Sat Apr 18, 2015 5:05 pm
- Location: NICE
Re: JSView 2.1.3 PM v27.1
GMforker wrote:karlkracher wrote:[Exception... "Not enough arguments [nsIWebBrowserPersist.saveURI]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: chrome://jsview/content/jsviewExternal.js :: jsviewExternal.openInExternalEditor :: line 96" data: no] jsviewExternal.js:111:0Code: Select all
webBrowserPersist.saveURI(uri, null, null, null, null, file, null);
vs.Code: Select all
webBrowserPersist.saveURI(uri, null, null, Components.interfaces.nsIHttpChannel.REFERRER_POLICY_DEFAULT, null, null, file, null);
See also bug #704320
I have already corrected it, but thanks anyway.
Please be patient as I upload the new version to the Pale Moon repository.
Regards,
TMTisFree
-
tmtisfree
- Apollo supporter

- Posts: 47
- Joined: Sat Apr 18, 2015 5:05 pm
- Location: NICE
Re: JSView 2.1.3 PM v27.1
It should be online now, thanks for the report.
JSView Revive 2.1.7 (20170303):
+ corrected a change in nsIWebBrowserPersist.saveURI() (aReferrerPolicy) introduced in FF36 preventing loading external editor
+ removed a console error about contributors
+ cosmetic changes (size columns in page info window right-justified)
JSView Revive 2.1.7 (20170303):
+ corrected a change in nsIWebBrowserPersist.saveURI() (aReferrerPolicy) introduced in FF36 preventing loading external editor
+ removed a console error about contributors
+ cosmetic changes (size columns in page info window right-justified)
Return to “Browser extensions”
Who is online
Users browsing this forum: SemiKebab and 1 guest
