Downloadable code used to add new functionality to browsers.
Questions tagged [polyfills]
890 questions
-1
votes
2 answers
Angular only works in chrome but not in Firefox. Edge or IE11
In my Angular 8.0 project dev mode, using angular CLI.
It only works in Chrome, everything is fine, but it doesn't work in Firefox / Edge / IE11.
When I open the project in Firefox / Edge, I am stuck on my login page, I type my account/password,…

Shaolin
- 1
- 4
-1
votes
1 answer
Angular 6 with aws amplify (third party) not working in chrome 41
I have a angular app written using Angular 6 and also using the third party library aws-amplify. The application is not crawled by google i.e not getting working in Chrome 41 version due to Array.includes method not exit. What can be other way to…

mohan
- 239
- 2
- 3
- 11
-1
votes
2 answers
Fetch polyfill for pure javascript
I have a Javascript file where code is written in Javascript ES6 standards.The file is working fine in chrome but its not working in IE. After doing logs, I found out issue is in making ajax calls. Following code is where I am trying to make…

nip_sham
- 59
- 8
-1
votes
2 answers
Using JSON Response Data to apply a background-image style to a JS loop item
I'm using an ajax request to display a loop of drupal posts.
$( document ).ready(function() {
$.ajax({
type:"GET",
url:"https://www.nba.com/api/1.1/json/?type=photo_gallery&tags=community&size=4",
success: function(data) {
let…

4ndy
- 446
- 7
- 26
-1
votes
1 answer
Why Mozilla put Object.assign polyfill in an anonymous function?
I have a question.
In the Polyfill section of MDN page for Object.assign function.
The technical writers in Mozilla put a polyfill of Object.assign in an anonymous function:
if (typeof Object.assign != 'function') {
(function () {
…

Huy Tran
- 815
- 1
- 12
- 22
-1
votes
1 answer
unable to make indexeddb work in android 4.2
i was devlopping an offline store using indexeddb it work very nice with android 4.4 sadnly when i tested it with a device < 4.4 it doesnt work
i was serching in the net i fond that i must use a polyfill,i add this to my exixting project
…
-1
votes
1 answer
How can I make this file upload jQuery code work in IE8?
Part of my code:
$("input[name='image']", selector_id).each(function(index) {
var this_selector = $(this),
this_file = this_selector[0].files[0], // ERROR LINE
this_image;
if (this_file) {
this_image = new…

Weblurk
- 6,562
- 18
- 64
- 120
-1
votes
2 answers
A library/service that loads *all* modernizr webshims/polyfills at once?
I'm looking to be able to use, in perhaps a couple lines of code, an external call to load every single webshim for a browser.
I understand that this would load the browser with dozens of useless shims. For quick development, this is fine for a…

Gavin
- 752
- 8
- 20
-1
votes
1 answer
object doesn't support property or method 'fillText' in IE8
I am getting the following issue in IE8. My code is working fine in Chrome, Mozilla and IE10. As IE8 doesn't support the canvas I am getting the following issue in it:
Object doesn't support property or method 'fillText'
Here is the jQuery line…

user2142786
- 1,484
- 9
- 41
- 74
-1
votes
1 answer
Javascript use bitwise or equals operator |= for polyfill creation?
Is there anything wrong with creating polyfills using JavaScript's bitwise1 or equals operator |=?
Date.now |= function() {
return +new Date;
};
1Bitwise operator reference
2Date.now() reference

Web_Designer
- 72,308
- 93
- 206
- 262
-2
votes
2 answers
Is there a Mdl grid alternative for ie9? [angular4]
Today i was asked to add the support of my angular 4 project with ie9.
The problem im facing is that material design light grid are not supported by ie9 as stated in this post.
What can I do to make my input responsive? now they are all on 1 column…

Francesco Giberti
- 95
- 17
-2
votes
1 answer
Polyfill for DOM element delete?
I need to create the polyfill for DOM element delete. Can not understand, what is I making wrong. The deleteElements() method must delete the current element.
1
2
3