Why is jQuery not integrated within the browser

前端 未结 7 1190
死守一世寂寞
死守一世寂寞 2020-12-06 16:20

Why isn\'t jQuery intergrated into browsers, so there would be no need to have to reference it on your site, and instead, the browser just notices the jQuery used, and every

7条回答
  •  鱼传尺愫
    2020-12-06 16:33

    Well, for one there are several versions of jquery, some plugins aren't compatible with newer versions, also if, lets say firefox, DID implement this, they would have to download jquery each time there's an update, there's no guarantee that chrome and other browsers would follow up on this, for example internet explorer that doesnt seem to like anything new, so you would still have to reference it for the browsers that does NOT support it.

    Final not from here is, even though browsers would start to implement it, I wouldn't rely on that anyway.

提交回复
热议问题