First you test to see if cookies are enabled. If they are, you output a message. You can hide the message using CSS and then unhide after the test, but then the user will see it if they don't use CSS. You could have the element but with nothing inside, so that it won't display and then user innerHTML to enter the message after the test.

Assuming cookies have already been set (or attempted to be) use:

    var cookieMessage = "You don't have cookies turned on!";
    var cookieHTML = document.getElementById("cookiesOff");
    function cookieMessage() {
    if(document.cookie.length == 0) {
          cookieHTML.innerHTML(cookieMessage);
          }
     }


And then have an HTML element like an h3 or p with an id of cookiesOff.

How to show a message only if cookies are disabled in browser?
Is it possible to set (or change) the natbib package options after its loading (i.e. after the line \usepackage{natbib})?

The reason I need it is that I'm using a LaTeX style from a journal and it has a natbib option which means it "...handles reference entries in the author-year system by using the natbib package", according to the journal style documentation, and I need to tune some settings (like 'sort&amp;compress', for example), but I do not know how to do that since I do not load the 'natbib' package directly.

I know there is a command \biboptions{} in Elsevier LaTeX style which does exactly what I want. But as far as I understand, this command is specific to their style and does not belong to the natbib package itself, or am I wrong?

P.S. I'm working with the Springer's 'SVJour3' document class currently. It is a widely used one, I believe. So, maybe someone can suggest me a way to sort the citations so that they do not look like [2,3,1] instead of [1-3] or at least [1,2,3] in the text?

Thank you!
