YouTube iframe Rickroll code
); // Same for stylesheet const stylesheetUri = webview.asWebviewUri( vscode.Uri.joinPath(this._extensionUri, "assets", "main.css") ); // Use a nonce to only allow a specific script to be run. const nonce = getNonce(); return `<iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>`; } function getNonce() { let text = ""; const possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; for (let i = 0; i < 32; i++) {
A code screenshot embeds a YouTube video using the URL for Rick Astley's “Never Gonna Give You Up.” The joke is a hidden rickroll presented as ordinary webview code, so it can be sent as a programming-related bait-and-switch reaction. EN: A code screenshot embeds a YouTube video using the URL for Rick Astley's “Never Gonna Give You Up.” The joke is a hidden rickroll presented as ordinary webview code, so it can be sent as a programming-related bait-and-switch reaction.
- @pokupkabitka / 48217 2025-02-16
- Template
- Rickroll
- Type
- image
- Size
- 800×255 · 22.2 KiB
- Mood
- playful, deceptive
- Language
- en
- Added