From Wiki96
Revision as of 21:00, 11 July 2023 by Kelbaz (talk | contribs) (→‎Known Glitches)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A Dynamic Wallpaper is a special JSON-based wallpaper format for moving wallpapers. A dynamic wallpaper file (DWP) is a JSON object with the properties `name`, `author`, `url`, and `properties` properties (sounds weird to say "properties properties"). Dynamic Wallpapers were introduced with the release of Windows 96 v2 Service Pack 1.

This is the contents of the DWP file for the Cloud Animated wallpaper:

{
	"name": "Cloudy Animated",
	"author": "litevx",
	"url": "/system/resource/dwp/clouds/index.html",
	"properties": {}
}

Documentation

name: The name of the animated wallpaper

author: The name of the person who created the wallpaper

url: The web page the wallpaper is located at

properties: An empty object, unknown what it is for.

Known Glitches

Dynamic Wallpaper also uses iFrames to display content (just like InternetE).

Most browsers allow javascript: URLs to run inside an iFrame. When javascript: URLs are run in an iFrame, they are treated as same-origin (just like about:blank). This means users can get infected with malware from applying DWPs or even just previewing them. The JavaScript code could also show an actual wallpaper while secretly corrupting files, adding boot scripts, replacing the shell, adding a custom kernel, and running other malicious processes.