The wallpaper permission allows a ChromeOS extension to change the user's desktop wallpaper.
This is a ChromeOS-only permission. It will have no effect on other operating systems.
What it does
- Grants access to the
chrome.wallpaperAPI. - Allows an extension to set the desktop wallpaper from an image URL or from binary image data.
- The extension can specify the layout of the wallpaper (e.g., stretched, centered).
When to use it
This is for extensions that provide wallpaper customization features on ChromeOS.
Examples:
- A "daily wallpaper" extension that sets a new wallpaper each day from a service like Bing or Unsplash.
- An extension that lets the user create a slideshow of their favorite photos as a wallpaper.
- A corporate branding extension that sets the company logo as the wallpaper on managed devices.
Manifest Declaration
{
"name": "My Daily Wallpaper",
"version": "1.0",
"manifest_version": 3,
"permissions": [
"wallpaper"
]
}Security & Privacy
Why is it not risky?
This permission (only for ChromeOS) allows an extension to change your desktop wallpaper.
This is a safe, cosmetic permission. It cannot access your files or any personal data. The worst an extension could do is set an ugly wallpaper.
API Usage Example
This example sets the wallpaper to a random image from an online source.
// background.js
chrome.action.onClicked.addListener(setRandomWallpaper);
async function setRandomWallpaper() {
if (!chrome.wallpaper) {
console.log('Wallpaper API is only available on ChromeOS.');
return;
}
try {
const imageUrl = 'https://picsum.photos/1920/1080';
// First, fetch the image data as an ArrayBuffer
const response = await fetch(imageUrl);
const image_data = await response.arrayBuffer();
// Now, set the wallpaper using that data
await chrome.wallpaper.setWallpaper({
data: image_data,
layout: 'STRETCH',
filename: 'random_wallpaper.jpg'
});
console.log('Wallpaper has been changed.');
} catch (error) {
console.error('Failed to set wallpaper:', error);
}
}Extensions with the wallpaper permission
Here are some popular browser extensions that use the "wallpaper" permission. To explore more, try our Advanced search.
Chrome extensions with "wallpaper" permission
LockDown Browser
Respondus Inc
LockDown Browser: AP Classroom Edition
Respondus Inc
i-Ready LockDown Browser
Respondus Inc
Eduphoria LockDown Browser
Respondus Inc
MasteryConnect LockDown Browser
Respondus Inc
Renaissance LockDown Browser
Respondus Inc
SchoolCity LockDown Browser
Respondus Inc
Vretta LockDown Browser
Respondus Inc
DMAC LockDown Browser
Respondus Inc
CrosPaper - The Wallpaper Engine for ChromeOS
https://crosexperts.com