On 07/10/11 13:46, Roan Kattouw wrote:
> On Fri, Oct 7, 2011 at 2:39 PM, Neil Harris<[email protected]>  wrote:
>> Is there any simple and efficient way of fixing this in a way that will
>> "just work" in other similar cases, other than writing custom javascript
>> for this special case, or using the data: URI scheme?
>>
> Yes, use a protocol-relative URL:
>
> //upload.wikimedia.org/wikipedia/foundation/3/3d/CNbasicButtonParts.png

Oh! I hadn't thought of that because it was a cross-domain load. Of 
course it does, that'll just work.

-- N.


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to