Greasy Fork is available in English.

fix-image-error at inoreader

Fix image load error caused by CSP(Content Security Policy)

المؤلف
Mengtao Xin
التثبيت اليومي
0
إجمالي التثبيت
320
التقييمات
1 1 0
الإصدار
0.5.0
تم إنشاؤه
07-04-2023
تم تحديثه
09-06-2024
الترخيص
MIT
ينطبق على

Fix image error at inoreader.

Question

At browser, images may be loaded like here:

<img 
src="https://www.inoreader.com/camo/syTLE-a1MEdDXhwx3ApEOV-s5_G8gDPx0rW5DvgKbE2Q,b64/aHR0cHM6Ly90dmF4Mi5zaW5haW1nLmNuL2xhcmdlLzhkZmI2ZDA2Z3kxZ3pwY2ttZWJkemoyMHJzMGZtZGkwLmpwZw" 
alt="8dfb6d06gy1gzpckmebdzj20rs0fmdi0.jpg" 
data-original-src="https://tvax2.sinaimg.cn/large/8dfb6d06gy1gzpckmebdzj20rs0fmdi0.jpg" 
style="max-width: 650px; height: auto; object-fit: contain;">

Our images will be loaded by inoreader like http proxy, but the origin server may not be happy and don’t provide good images. We need to load images manually and put them to our web pages.