Can Javascript be used to detect a redirected image SRC (in any popular browser)?

前端 未结 5 1093
既然无缘
既然无缘 2020-12-05 18:46

I\'m guessing nope, but you never know.

  1. Browser loads
  2. example.net redirects lolca
5条回答
  •  心在旅途
    2020-12-05 19:21

    the answer to your question Can Javascript be used to detect a redirected image SRC (in any popular browser)? is simple as you said , nope! because http doesnt have any option for identifying the redirection. This is similar to detecting url redirection, which is simply a limitation for javascript.

提交回复
热议问题