Extension talk:MagnetLinks

HTTPS pages
When using this extension in HTTPS pages, the browser will complain about mixing HTTP and HTTPS traffic. To solve this, we can simply remove the URL and embed the image (convert to PNG) into the page itself.

Replace $icon_img = 'http://upload.wikimedia.org/wikipedia/commons/c/c2/Magnet-icon.gif'; with $icon_img = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOBAMAAADtZjDiAAAAElBMVEVjb2wAAABjY2Pe3t7/AAD/CAjCuNwwAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAABDSURBVAjXYxAUFGQAYWFjQ6xYxFWIQTE0EEgLMDBio12g8i6OgqJAWsXFxSU0NIhBEUwLMTAJAmlBBQYGJkVBIQUGAAw7D0VqA9flAAAAAElFTkSuQmCC'; Maybe a good idea for the next version? Renhoeknl (talk) 14:53, 3 June 2015 (UTC)