Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Firefox 3.0 not rejected #48

Open
anhja opened this issue May 23, 2014 · 2 comments
Open

Firefox 3.0 not rejected #48

anhja opened this issue May 23, 2014 · 2 comments

Comments

@anhja
Copy link

anhja commented May 23, 2014

I'm using jReject v.1.1.0 and it doesn't reject Firefox 3.0. I've also tested with Firefox 3.1 and 3.6, these versions are rejected.
My configs:


function rejectOldBrowsers() {
                        $.reject({
                                reject: {
                                        msie: 8,
                                        safari: 5,
                                        opera: 12,
                                        firefox: 3.6,
                                        chrome: 18
                                },
                                header: MSG_headline,
                                paragraph1: MSG_description_1,
                                paragraph2: MSG_description_2,
                                closeMessage: MSG_close_description,
                                closeLink: MSG_close,
                                closeURL: MSG_close_url,
                                imagePath: MSG_image_path,
                                browserInfo: {
                                        chrome: {
                                                text: MSG_chrome,
                                                url: MSG_chrome_url
                                        },
                                        firefox: {
                                                text: MSG_firefox,
                                                url: MSG_firefox_url
                                        },
                                        safari: {
                                                text: MSG_safari,
                                                url: MSG_safari_url
                                        },
                                        opera: {
                                                text: MSG_opera,
                                                url: MSG_opera_url
                                        },
                                        msie: {
                                                text: MSG_ie,
                                                url: MSG_ie_url
                                        }
                                }
                        }); // Customized Browsers
                }

Please have a look at this issue. Thanks!

@BluSyn
Copy link
Member

BluSyn commented May 29, 2014

In your code:
firefox: 3.6

Try using identifier "firefox: 3". Currently the version-identifier support does not include minor version numbers, only major version (eg, 3, 4, 5).

@anhja
Copy link
Author

anhja commented Jun 2, 2014

There's the same problem with "firefox: 3".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants