Browser configuration

In the latest browser versions, the steps described below may not be exactly the same. Take it as a reference for what you should be looking for.

Firefox causes an error when clicking on "Copy to clipboard"

To enable JavaScript "Copy to clipboard" buttons on Firefox and Mozilla, enter the following line into the browser address bar: "about:config".

The list of preferences should open in the browser window. Right-click somewhere in the active part of the preference list window and choose the New > Boolean option from the context menu. Paste the following preference name into the New Boolean Value window input box: "signed.applets.codebase_principal_support".

Unable to run Scanner applet under Linux

If you enable the Java Console and see this error:

java.lang.UnsatisfiedLinkError: uk.co.mmscomputing.util.JarLib.loadX: Could not find library [libjsane.so]

You have to install the libsane-dev package:

$ sudo aptitude install libsane-dev

Internet Explorer error "Document name is different"

This is a known error in the Internet Explorer family. To disable the name-mismatch check, change the value of the configuration parameter named "system.document.name.mismatch.check" to false.

More information on Other configuration parameters 

Internet Explorer error downloading files in HTTPS / SSL connections

There's a very old bug, from version 5.5 to the present, that Microsoft seems not to have decided to fix, which causes a problem downloading files with IE over the SSL protocol (the force may be with you; hopefully someday they will decide to fix it).

The problem is caused by "Cache-control: no-cache HTTP header in the response message". Obviously that's valid for any browser except the IE family... another Microsoft IE hidden feature?

See some supporting information and forum posts about it:

The solution is to change a couple of entries in the Windows Registry:

  • Create a file called ss_download_patch.reg
  • Copy the contents
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"DisableCachingOfSSLPages"=dword:00000000
"BypassSSLNoCacheCheck"=dword:00000001
"BypassHTTPNoCacheCheck"=dword:00000001
"SSLPragmaNoCache"=dword:00000001  
  • Execute it (it will be imported into the Windows Registry)
  • Then you need to restart Windows for this to take effect.

Google Chrome and Java applets

As you can read in Java and Google Chrome Browser, Chrome v45 no longer supports NPAPI, which is required for Java applets. So you won't be able to use some interesting features in OpenKM like Live Edit or Bulk Uploader (both applets). There are a couple of workarounds:

  • Use another browser like Firefox, which still has NPAPI support.
  • Go back to Chrome v44 and enable NPAPI support.

If you prefer to keep using Chrome (option 2), follow these steps:

  • Uninstall Google Chrome from your computer (Control Panel > Uninstall a program)
  • Download Google Chrome v44 portable and install it.
  • Once installed, use this URL to access browser configuration: chrome://flags
  • Look for Enable NPAPI, click the Enable link and restart Chrome.
  • Now you will be able to use Java applets again.