Confluence uses a lot of javascript. Every plugin comes with a its own (sometimes several) javascript libraries. And no browser handles javascript better today than Google chrome.
BUT - there is one problem to the wide spread adoption of Google chrome for us Confluence lovers. The rich text editor.
I turns out there is a simple "user agent" check in the MCE plugin that looks for to check the browser type.
How to fix the Rich text view in Google Chrome
- Create a new shortcut to Google chrome on your desktop. (Copy and paste an existing one or right click it in your start bar to create short cut)
- Rename it "Chrome (wiki version)"
- Right click and edit the properties.
- add this to the end of the target: -user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"

That's it. Now, you can use chrome as usual but when/if you want the rich text editor, just use the shortcut to open a new window!
You should know see the rich text editor of confluence in Google Chrome ![]()
(note that other sites like gmail, and twitter, don't work right in this modified version - use your regular shortcut for those).
Let me know in the comments if this method works for you. Thanks.
If you found this content useful, please let us know...
Comments (11)
May 09, 2009
Anonymous says:
Thanks a lot - I just tried this and it works. You guys rock!Thanks a lot - I just tried this and it works. You guys rock!
Jul 09, 2009
Anonymous says:
Yes, it works perfectly, but.... How to make google chrome ALWAYS use this user...Yes, it works perfectly, but....
How to make google chrome ALWAYS use this user agent? For example, I have .html on my HDD, and if I open it, chrome will not use -user-agent key.
By the way, Windows 7 and IE8 have same problem with the RTE in confluence.
Aug 05, 2009
Anonymous says:
my user directory has a folder name with a space in it (i.e. c:/users/user name/...my user directory has a folder name with a space in it (i.e. c:/users/user name/etc/) so making it like:
"C:\Users\Rene Antonio Bajo\AppData\Local\Google\Chrome\Application\chrome.exe -user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)""
or
'C:\Users\Rene Antonio Bajo\AppData\Local\Google\Chrome\Application\chrome.exe -user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"'
or
C:\Users\Rene Antonio Bajo\AppData\Local\Google\Chrome\Application\chrome.exe -user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
DOESN'T WORK. Please advise.
Aug 06, 2009
Cody Burleson says:
The command shell does not recognize spaces in path names. Any path name with sp...The command shell does not recognize spaces in path names. Any path name with spaces must be enclosed in quotation marks.
Aug 06, 2009
Anonymous says:
Here's what I did ( I had the same problem with spaces in the path name) and it ...Here's what I did ( I had the same problem with spaces in the path name) and it worked :
"C:\Documents and Settings\username\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" -user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
Basically add the user agent option after the first set of quotes.
Aug 07, 2009
Anonymous says:
works like a charm. anonymous rocks!works like a charm. anonymous rocks!
Aug 14, 2009
Anonymous says:
this is terrific - thanks.this is terrific - thanks.
Dec 14, 2009
Anonymous says:
Tested this trick with chrome on linux, works there as well... Interestingly, w...Tested this trick with chrome on linux, works there as well...
Interestingly, when the new shortcut is clicked, the new window is opened in the same context as existing chrome windows, and the existing windows' user agents are also set to mozilla***.
guven
Dec 23, 2009
Anonymous says:
How do you do this for Google Chrome mac os x? Thks! MartijnHow do you do this for Google Chrome mac os x?
Thks!
Martijn
Feb 19, 2010
Anonymous says:
In all seriousness, this is the most groundbreaking thing Ive ever seen. Its SO...In all seriousness, this is the most groundbreaking thing Ive ever seen. Its SO useful. Thanks!
Feb 25, 2010
Anonymous says:
I use the ietab extension instead: https://chrome.google.com/extensions/detail/...I use the ietab extension instead:
https://chrome.google.com/extensions/detail/hehijbfgiekmjfkfjpbkbammjbdenadd
Add Comment