mozdev.org

NewsFox


Need for developer (edited)

Mozilla has announced signifcant changes for Firefox add-ons, with comments here, here, here, and here for a limited sample.

The current NewsFox developers will need some help updating NewsFox for this new ecosystem.

There may be a group of die hards that stick with the final Firefox version where NewsFox works.

So, if anyone has been thinking of taking part in NewsFox development, now would be an opportune time to step forward.

Please, contact us if you can help.

Many thanks,

A Gromyko (andrey AT gromyko.name)
R Pruitt (wa84it AT gmail.com)


Need for developer

Mozilla has announced signifcant changes for Firefox add-ons, with comments here, here, here, and here for a limited sample.

The current NewsFox developers will not be updating NewsFox to exist in this new ecosystem.

There may be a group of die hards that stick with the final Firefox version where NewsFox works.

So, if anyone has been thinking of taking over NewsFox development, now would be an opportune time to fork a new project.

R Pruitt (wa84it AT gmail.com)


Release: NewsFox 1.0.9.3

NewsFox 1.0.9.3 is released. Changes from 1.0.9.2.1 to 1.0.9.3:

  • Slovenian (sl-SI) locale added.
  • Newlines in <pre> tags handled properly. (bug#25949)
  • Minor
    • Shift up/down on ctrl-up/down arrow from text pane removed.

When using the keyboard with the focus in the text pane(this only way to use NewsFox properly :)), the view would shift up/down when using ctrl-up/down arrow since Firefox changed to allow ctrl-arrow to do this in html pages.

Beginning in Firefox (who knows when), E10S(multi-process) mode will be enabled. This entirely breaks NewsFox, and I'm not sure about changing that. It seems to work fine in non E10S mode which is available on the first page of the Firefox options. There is an announcement to that effect (in English) if NewsFox is started in E10S mode. There is no reason to translate that string yet, as it is unclear what will develop.

R Pruitt (wa84it AT gmail.com)


Minor release: NewsFox 1.0.9.2.1

NewsFox 1.0.9.2.1 is released. The only substantive change is reworking the filtered web pages for JavaScript, so this won't be released on addons.mozilla.org. Changes from 1.0.9.2 to 1.0.9.2.1:

  • Reworked JavaScript filtered web code. (bug#25942)
  • Minor
    • Title can now be dragged from article pane to Firefox tab.

The JavaScript method for filtered web pages has been updated to work with new Firefox security measures. Here is an updated description from previous release notes.

JavaScript method: You enter JavaScript in the box. The last value will be used as the filtered web page. This must evaluate to a string. The JavaScript is evaluated in a sandbox. The following variables are available: linkDOM - the DOM of the article link page, linkHTML - the text/html of the article link page, win - a copy of the window object of the iframe the result will be displayed in(changes to win do nothing, only the last value of the JS makes any difference), doc - a copy of the document object of the iframe the result will be displayed in, getElementsByClass(class, tag, node) which returns an array of elements with given class and tag contained in node. getDomAndHtml(site) which returns an object with properties HTML and DOM giving the text/html and DOM of the given site. getDomAndHtml(site) should be avoided as it needs to work synchronously and thus locks up the entire browser while the request is being processed. An example of JavaScript to enter in the box to return the entire web page would be

getElementsByClass("","html",linkDOM)[0].innerHTML;
or
linkHTML;

Note that external CSS is not downloaded in either method[<- this refers to RegExp]. JavaScript on the page is not run, which may make some aspects of the page unavailable. linkHTML and linkDOM are just the text/html and DOM of the given page with nothing else loaded.

The function getDomAndHtml is no longer available. I can't remember, but someone must have convinced me to put this in as I've never used it. It was always a struggle to get it by the AMO reviewers and probably wouldn't have lasted long. A user can still use new win.XMLHttpRequest() in their code to get html from another site if that site allows cross origin requests.

The new method leaves a lot of security errors in the console when the html of the page tries to load CSS with relative links as Firefox thinks these come from NewsFox chrome: pages. I haven't thought extensively about it, but think setting the base URL in the new html page may not be trivial.

It seems to me that XPath filters still work in Firefox 35 without any changes.

The article in the article pane can now be dragged and dropped on the Firefox tab bar. Firefox was unable to parse the previous information.

Beginning in Firefox (who knows when), E10S(multi-process) mode will be enabled. This entirely breaks NewsFox, and I'm not sure about changing that. It seems to work fine in non E10S mode which is available on the first page of the Firefox options. There is an announcement to that effect (in English) if NewsFox is started in E10S mode. There is no reason to translate that string yet, as it is unclear what will develop.

R Pruitt (wa84it AT gmail.com)

For questions or comments about NewsFox, please check the forum.
Copyright © 2000-2016. All rights reserved. Terms of Use & Privacy Policy.