Youtube - Right Side Description

Moves the video description to the right of the video, adds options for smaller video, retro player, retro style, and more

< Feedback on Youtube - Right Side Description

Değerlendirme: İyi - script çalışıyor

§
Gönderildi: 30.12.2014

Icons should be loaded over HTTPS

Hi,

I really like this script, but it causes the green padlock on a HTTPS YouTube page to go not to green, as content from a HTTP site is loaded in. It's not the biggest issue in the world, but I'm pretty anal and would love to see it fixed.

I'm not a (script) developer, but I believe there's two ways of doing it:

  1. base64 encoding the images and using data:image/png;base64,... as the URL. (Preferred as then there's no outside connections and no referrers being sent.)

script.icon: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuM4zml1AAAAJPSURBVFhHxZTPaxpREMffnxKa1PxYzUb9Y9L/wn/Dc4WC9FR6KBKIhYKHHEI99CCYSwuFUhCkeBBE0CJqMU72O+wss5vdt1tjsgMfd96beTPf9966hoiYu2qJXhLpyz+9skN5wAK+XZyRoE3P22LaZK7n8a9SIapW6W+lzOM/5XMeg7sLJ8g1X91TEmBpvi0mvjSyIWvMTemEBFiaH0XHxI9rGEXWmC/FAgna9Lwtpsfi/3KLtPGvII7fXlzWmGunQAIszo+iY0l+r+S9HzHNf54X6bOfA8yn0yMSYGm+LaZ9cOuEr+N7yaErFQfmw8khCbA4X8ZiWeaFm7Njbv7Da/4xJm7eF15RnvCH6N3rA8oD9A4+xW+PDuglkb6BgLzgn36/T3nAAuBMp1NqNps7gbW7gt4sAIV2taeIsAqYzWa02Wz8UbI9m4BOp0ONRoPG47E/E29JAmq1Wuq8VUC326VWq0X1ep3FLBYLPxI22wlERUTHmQS0220+CQhBbvRasghIOo1HArbbLQPDrtEUzQGKALwbSPHTQgIkJwuPBGBn6/Waub/fsoA3l5cBOBHkQOBqtWIwFgEoOhgMMoP8kADcMXYHlsslH7/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pgTrjh0EGWtjZOTk5ADrgFsXl5eDhru6RrgPTBElgZ0MeDo6KgXvLsXTbIB+PC+4i6YkGRAn8sz/rcJSwPuiwEHBweu7pEym2zA9fW1y+Hh4ewyr1dHym9Am8VSlge9GHB1dTV7MUg1IsUAULdg6vIg2QAsiw9H1hovn0wmMwNoxHQ6jc6zTjUAeIt2WR50MsADH4A+wPKeER5dDAC6cNflQa8GcHFrAvGMaDJAn++Cd6eSbMD5+d/Zh9uMl3FphR+CGgbY5+oMwHNnZ2c3osmETgZ4cFEP3Me/ffvcIAzgiyz4iSO8Z0iTAfgWe29b+Kx3N0k2wDoMsIi+GIvzJ+7NK00G4C7ki4uLJPRZ727SiwFAF4ch3ozHYAxIXZw0GXB8fDzL+KYU9FnvboLZJANOT097pckA/HPFZVLQZ727ydKAFANAnybULQ/w8ZhB7gKf9e4myQYAXNwH3t0KPt7+Y5XKrRiwKLI3AGCBm+Ddqdx5A0jbhdrOkaUB98WA22JpQMyAHEzgnnMGADaHju5cMSBHXDEnXDEnXDEfwso/SlFhgrHEcvIAAAAASUVORK5CYII=

  1. Replacing the http:// on the URLs with //

    script.icon = "//i.imgur.com/RAHw2kQ.png"; script.icon64 = "//i.imgur.com/qlQhuaa.png";

I believe this loads the images over HTTPS if on a HTTPS site; else, over HTTP on a HTTP site.

Cevap paylaş

Yanıt göndermek için oturum açın.