TurnWheel / jReject

jQuery Browser Rejection Plugin
http://jreject.turnwheel.com/
277 stars 98 forks source link

Firefox 3.0 not rejected #48

Open anhja opened 10 years ago

anhja commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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