Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.javascript Subject: Re: FireFox onclick problem Date: Tue, 10 Feb 2015 23:37:25 +0100 Organization: solani.org Lines: 30 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1423607839 32354 eJwFwYEBwCAIA7CXFFoY5zgq/59gQo8dnQgGOJzD/2imgatPJSRMvro2PE6Puag0c1t1q/IBNjUROg== (10 Feb 2015 22:37:19 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Tue, 10 Feb 2015 22:37:19 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 X-User-ID: eJwFwYkBwCAIA8CVwpOg41iR/UfoHUOmWykqORxcFdoG44SdtTs/71xBMZbeGDzfjnOweat+CIYQPg== In-Reply-To: Cancel-Lock: sha1:0fOuEqVJKYTyBjIvWK2BJRPi8hg= X-NNTP-Posting-Host: eJwNxMERACEIA8CW4IQg5TjE9F+Ct4/NBcdUIBGpVPuZPycVdj+XaRO8ubqlNrC2bIJWHnXmASmSEW8= Xref: csiph.com comp.lang.javascript:26843 Mel Smith wrote: > IE and Chrome both 'hide' the
below when a user 'clicks' on the > button. > > However, an automatically updated version of FF does NOT . > > That is, when a user 'clicks' on the 'Hide Me' button, nothing happens. > Very few (any ??) of my users have FF installed, and I very seldom use FF. > But month ago, I *believe* it worked correctly -- but I'm not sure. > > Question: > > What FF setting could I have (somehow) set wrongly such that 'onclicks' > were not acted on. Maybe JavaScript is disabled completely, or some installed plugin blocks the execution? Maybe Content Security Policy[1] is enabled? I suggest to place a quick debug statement at the beginning of hidenotice() to see whether the function is called at all, e.g. alert('hidenotice'); And, of course, have a look at the error console of Firefox. [1] -- Christoph M. Becker