Created
October 18, 2022 14:35
-
-
Save EthraZa/6ad6f7038fa8bd5845617c4bbc939e01 to your computer and use it in GitHub Desktop.
Adminer SQL Edit Fullscreen Bookmarklet - https://bookmarkify.it/53844
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
:: Adminer.org SQL Edit Fullscreen Bookmarklet :: | |
Add to your bookmarks using: https://bookmarkify.it/53844 | |
How to: Click the bookmark when editing a SQL command in Adminer. Press ESC to exit fullscreen. | |
*/ | |
var s = document.getElementsByClassName('sqlarea')[0]; | |
if (s) { | |
s.style.backgroundColor = window.getComputedStyle(document.body, null).getPropertyValue('background-color'); | |
s.requestFullscreen(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bookmarklet:
javascript:(function(){window.s0=document.createElement('script');window.s0.setAttribute('type','text/javascript');window.s0.setAttribute('src','https://bookmarkify.it/bookmarklets/53844/raw');document.getElementsByTagName('body')[0].appendChild(window.s0);})();