* To prevent long loading on data urls * we will check here for data urls. * * @type {requestDetails} * @return {boolean}
(requestDetails)
| 711 | * @return {boolean} |
| 712 | */ |
| 713 | function isDataURL(requestDetails) { |
| 714 | const s = requestDetails.url; |
| 715 | |
| 716 | return s.substring(0, 4) === "data"; |
| 717 | } |
| 718 | |
| 719 | /** |
| 720 | * Call by each Request and checking the url. |