FAQ

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Why is dual monitor setup great for web development?

One display is fully dedicated to your browser window showing the page you are currently editing. With XRefresh you don’t need to switch between windows. Stay in your favorite text editor.

What is “Soft Refresh CSS” feature?

XRefresh is able to replace an externally linked CSS file with an updated version without reloading the whole page. I call it “soft refresh” and it is handy in dynamic AJAX-style applications. The page stays in the same state and does not blink during refresh. With this feature you can get a similar experience as Firebug on-the-fly CSS editing (without the pain of syncing changes back to original source). This is disabled by default, you need to enable it in XRefresh menu (under context menu on XRefresh tab button). Here is a minimal example page using this technique. You should be able to see soft refresh icons when modifying style.css.

What is “Soft Refresh JS”?

XRefresh is also able to replace externally linked JS file with updated version without reloading whole page. It works similar to Soft Refresh of CSS, but there is a catch. Remember, the updated script is just evaluated as-is in the context of the main window (because it is added as a new script tag). So it is not able to remove deleted functions, it will not update anonymous functions bound to elements or for example it will not call the jQuery onReady function again. If you don’t understand these consequences it is better to not enable this feature and go with full refresh. Soft Refresh JS is disabled by default, you need to enable it in XRefresh menu (under context menu on XRefresh tab button). Here is a minimal example page using this technique. You should be able to see soft refresh icons when modifying code.js.

Is there support for Safari? Opera?

No plans, I’m happy with Firefox. Support for IE will be dropped in the future. For Safari there is a similar project to XRefresh called LiveReload.

I’m editing files directly on my server via ssh, is it possible to use XRefresh over the network?

XRefresh monitor communicates with the browser extension using TCP/IP. So, it is possible, but it may be tricky because you need to disable your firewall and make sure they see each other. By default the browser extension tries to connect to 127.0.0.1 on port 41258. In Firefox type about:config into the URL bar and filter keys by “xrefresh”. Keys extensions.xrefresh.host and extensions.xrefresh.localConnectionsOnly are what you are looking for.

Do you support @import linked css files in Soft Refresh of CSS?

No, you have to link all css files directly from the root HTML using <link rel=”…”> tag. Other kinds of css stylesheets linkage are ignored during soft refresh.

I don’t see XRefresh panel in IE. What should I try?

Delete these keys using RegEdit:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories{00021493-0000-0000-C000-000000000046}HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories{00021494-0000-0000-C000-000000000046}

How do I get rid of POSTDATA confirmation dialog during refresh?

First, try to use soft-refresh feature to not resend data at all. Tweak only live CSS. If this is not possible consider tweaking browser.sessionstore.postdata to 1 in about:config. You should learn about the consequences of doing so.