Coder Social home page Coder Social logo

Comments (8)

msarchet avatar msarchet commented on August 24, 2024

Just fixed this with c197834 (Added Client Side User Fetch).

Currently I'm doing the fetch for all browsers instead of having it done server side. Seems to be the simplest solution.

from smallestdotnet.

shanselman avatar shanselman commented on August 24, 2024

Cool. We should also have a NOSCRIPT option?

Scott Hanselman

On Sep 22, 2012, at 7:59 AM, Michael Sarchet [email protected] wrote:

Just fixed this with c197834 (Added Client Side User Fetch).

Currently I'm doing the fetch for all browsers instead of having it done server side. Seems to be the simplest solution.


Reply to this email directly or view it on GitHub.

from smallestdotnet.

msarchet avatar msarchet commented on August 24, 2024

Yea. We could just leave the default in and then replace it with a better result if the user is using javascript?

So add the server side load back in and then have the ajax happen to try and get a better result?

from smallestdotnet.

shanselman avatar shanselman commented on August 24, 2024

Hm, just realized by moving folders and changing names we may have broken existing sites that use the functionality. I think we'll need a redirect or URL rewrite for the old/original JS .ashx

Scott Hanselman

On Sep 22, 2012, at 7:59 AM, Michael Sarchet [email protected] wrote:

Just fixed this with c197834 (Added Client Side User Fetch).

Currently I'm doing the fetch for all browsers instead of having it done server side. Seems to be the simplest solution.


Reply to this email directly or view it on GitHub.

from smallestdotnet.

shanselman avatar shanselman commented on August 24, 2024

That's safest, if we can do it in a DRY way.

Scott Hanselman

On Sep 22, 2012, at 9:18 AM, Michael Sarchet [email protected] wrote:

Yea. We could just leave the default in and then replace it with a better result if the user is using javascript?

So add the server side load back in and then have the ajax happen to try and get a better result?


Reply to this email directly or view it on GitHub.

from smallestdotnet.

msarchet avatar msarchet commented on August 24, 2024

I'll just adjust the Javascript to see if the UserAgent contains Trident/5.0 which should only be IE9, and only call it if that is the case.

Also it seems that IE 10 doesn't report the CLR information even in navigator.userAgent, is this correct?

from smallestdotnet.

shanselman avatar shanselman commented on August 24, 2024

IE desktop or IE metro?

Scott Hanselman

On Sep 22, 2012, at 9:30 AM, Michael Sarchet [email protected] wrote:

I'll just adjust the Javascript to see if the UserAgent contains Trident/5.0 which should only be IE9, and only call it if that is the case.

Also it seems that IE 10 doesn't report the CLR information even in navigator.userAgent, is this correct?


Reply to this email directly or view it on GitHub.

from smallestdotnet.

msarchet avatar msarchet commented on August 24, 2024

Desktop,

Seems fine if I'm in Compatibility Mode

from smallestdotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.