an all-new reimagination of SimpleWeb, with all-new controls, incredible stability & efficiency improvements and reimagined UI.

⌘ + U / ctrl + U
⌘ + T / ctrl + T
⌘ + W / ctrl + W
⌘ + R / ctrl + R
⌘ + U / ctrl + U, then type tudify://settings.
⌘ + U / ctrl + U, then type extensions://
the SimpleWeb API allows for extra communication between the SimpleWeb browser and the website its running on.
Place the following inside your :<script src="qrc:///qtwebchannel/qwebchannel.js"></script>
Place the following in your <script> tag:
document.addEventListener("DOMContentLoaded", function() {
if (typeof qt === "undefined") return;
new QWebChannel(qt.webChannelTransport, function(channel) {
window.SimpleWeb = channel.objects.SimpleWeb;
// Your code using the API goes here
});
});
Method | Parameters | Returns | Description |
---|---|---|---|
getDeviceInfo() | None | String | Returns CPU, architecture, and OS info. Example: "Intel i5, x64, Windows" |
reportAPIver() | None | String | Returns the API version, e.g., "1.0" |
getUserAgent() | None | String | Returns the browser User-Agent string. |
getOS() | None | String | Returns the OS name (Windows, Linux, macOS). |
GetUserTheme() | None | String | Returns the current user theme: "dark" or "light" |
openwindow(url, width, height) | url (string), width (int), height (int) | None | Opens a new SimpleWeb window with the specified URL and dimensions. |
setWindowTitle(title) | title (string) | None | Changes the title of the current window. |
print(text) | text (string) | None | Prints a message to the browser console. |
Getting device information
SimpleWeb.getDeviceInfo().then(info => {
SimpleWeb.print("Device info:", info);
});
Opening a new window
SimpleWeb.openwindow("https://tudify.co.uk", 1024, 768);
SimpleWeb.setWindowTitle("My Cool App");
Detecting the user's theme
SimpleWeb.GetUserTheme().then(theme => {
if (theme === "dark") {
document.body.style.backgroundColor = "#202326";
} else {
document.body.style.backgroundColor = "#ffffff";
}
});
- The API only works in SimpleWeb. Standard browsers will ignore it.
- Some features may require user interaction (e.g., openwindow).
- Future releases may expand API capabilities with extra extensions and AI integrations.