Skip to content

Instantly share code, notes, and snippets.

Last active Jun 4, 2022
What would you like to do?
Photopea full width no ads no sidebar. Tampermonkey script for photopea sidebar with full width.
// ==UserScript==
// @name Photopea Full Width
// @namespace
// @version 0.1
// @description try to take over the world!
// @author You
// @match
// @icon
// @grant none
// @run-at document-end
// ==/UserScript==
( === '?') || (document.body.outerHTML=`<iframe width="${document.documentElement.clientWidth}" height="${document.documentElement.clientHeight}" src="/?">`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment