Archived

This topic is now archived and is closed to further replies.

Directrix

WebUI v0.315

Recommended Posts

I fixed it. The code that breaks Opera and Safari is a few non-standard things.

StyleSheet.href returns null in standards compliant browsers for inline stylesheets.

if (!document.styleSheets[n].href || (document.styleSheets[n].href.indexOf("style.css") == -1)) {

When rules are added to the stylesheet, they are in the wrong format.

"selectorText { ... };" -- The semi-colon throws a syntax error in Opera.

Here's a fixed copy:

http://files.myopera.com/fearphage/transport/webui.zip

The only reason to download this is for it to work in Opera or Safari. All 3 fixes are in stable.js (2 of the first and 1 of the second). There are other small fixes and changes that could be made but aren't requires.

@devs: Besides the HUGE innerHTML assignment that crashes ie6, is there anything else that makes it unsopported? Is there a reason content.js is not hardcoded into index.html?

Share this post


Link to post
Share on other sites

You can't yet, but - AT THE EARLIEST - a new beta may be available once 1.8 goes Beta. Otherwise, we'll have to wait for RC status or stable.

Share this post


Link to post
Share on other sites

ive tried to use the original webui, and it didnt work. i sorta forgot about it, but remembered about it now. I tried it again, and I still cannot seem to get it to work. Ive done everything in the readme, and read numerious pages of posts, but cant get it working.

Running firefox version 2.0.0.12, with vista.

--

Seth

Share this post


Link to post
Share on other sites

Telling us that it "didn't work" doesn't tell us anything. What happens? What does the logger tab in µTorrent show when you try accessing webui?

Share this post


Link to post
Share on other sites

@ultima: are there particular reasons IE6 isn't supported or is it merely a hassle to support it? From a quick glance at the source I didn't see anything in particular. Could you possibly elaborate on this?

Also the string of html in content.js is malformed (tags do not close in the order they are opened)

Share this post


Link to post
Share on other sites

I did notice that it crashed from the massive innerHTML assignment. There are ways around that. For instance, you could take that html (well the correctly formed version of that html in content.js) and parse it into a document fragment and append that to the appropriate node. IE in general does all sorts of weird things. Could you be more specific? I am asking because I wouldn't mind attempting to overcome these issues if possible.

Share this post


Link to post
Share on other sites

IE6's idea of "standards" is 10 years old...

If you want to help make the UI better, sure... but I wouldn't do much tinkering with the code on a full-on basis except to get the interface to work within the limited confines of whatever IE6 supports... full rewrites would probably be rendered moot with a (hopefully new version) facelift sometime around the next uT version coming out of testing... I THINK if you're planning on poking at the UI you should be sure you've got a thorough grasp of JSON which is what Directrix uses and then a thorough grasp of IE6 rendering to keep your long tail not so long.

Edit to be not so...

Share this post


Link to post
Share on other sites

Elaborate workarounds for the sole purpose of making it compatible with an outdated and twitchy browser does seem like a waste of time even if the browser is still used a lot. The usage of IE6 will drop and drop and the new version of µtorrent is probably gonna sprout a new version of the webui (as I read it between the lines) so a user made workaround runs the risk of being wasteful too.

Share this post


Link to post
Share on other sites

Just a heads up for the developer of this, it seems to be broken in Firefox 3 Beta 3, so there's a good chance it won't work in the final version either.

Any chance of this being looked at?

Share this post


Link to post
Share on other sites

Just wanted to thank you! It's a gem! I'm running it as a service, to get it to work i moved everything under the %appdata%\utorrent directory to where the .exe was, then it worked.

Share this post


Link to post
Share on other sites

For me to now, it did not like Firefox 3 beta 3. IE 7 workt perfect.

I now use IE for torrent purposes only, and use it to save .torrents to a catalog that Utorrent on my server monitors.

When does the next version come? would like to be able to manage RSS via web browser.

Share this post


Link to post
Share on other sites

hmm I can't seem to get the webui to work on my newest server... I have it enabled and tryed a different port but now I've unchecked that so it uses default port... do I need to manually add it to windows firewall??

I put in http://X9.2X8.1XX.1XX:8080/gui/ (without X) and I get "The connection has timed out"

Share this post


Link to post
Share on other sites

Be sure that you have the external Ip you're connecting from allowed. Additionally the error message regarding WebUI in the Logger tab will give you a better idea what's going on. Perhaps you may need to turn on Verbose or Error logging temporarily.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.