📱 QR Code Sharing
Generate QR codes for any X/Twitter profile — display on screen and download as PNG.
📋 What It Does
- Takes a username or the current profile page
- Generates a QR code pointing to the profile URL
- Displays the QR code as an overlay on the page
- Provides a download button to save as PNG
🌐 Browser Console Script
Steps:
- Go to any page on
x.com - Edit CONFIG with the target username (or leave blank to use current page)
- Open console (F12) and paste
src/qrCodeSharing.js
Configuration:
const CONFIG = {
username: 'nichxbt',
size: 300,
darkColor: '000000',
lightColor: 'ffffff',
};
📁 Files
src/qrCodeSharing.js— QR code generator and display
⚠️ Notes
- Uses the free
api.qrserver.comAPI (no signup needed) - QR code encodes the URL
https://x.com/username - The overlay can be closed by clicking the X button
- Size is in pixels (default 300×300)
- Colors are hex without the
#prefix
⚡ Ready to try QR Code Sharing?
XActions is 100% free and open-source. No API keys, no fees, no signup.
Browse All Scripts