Last active
May 23, 2023 13:31
-
-
Save irungentootoo/564d4eca5562742a7f24af86f7f81ab8 to your computer and use it in GitHub Desktop.
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
// ==UserScript== | |
// @name outlook_mail_filler | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description try to take over the world! | |
// @author https://t.me/gsruk | |
// @match https://outlook.ent.ukrgas.com.ua/owa/?ae=Item&a=New&t=IPM.Note&cc=MTQuMy41MTMuMCxydS1SVSw2LEhUTUwsMSwx&pspid=_1684823344372_465659093 | |
// @require https://gist.github.com/irungentootoo/0546fef1e67a359d3d3e00c6c75813c8/raw/dd1c887c83091513cbab4cbc226d01424976eed8/nice_alert.user.js | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=ukrgas.com.ua | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// https://outlook.ent.ukrgas.com.ua/owa/?ae=Item&a=New&t=IPM.Note&cc=MTQuMy41MTMuMCxydS1SVSw2LEhUTUwsMSwx&pspid=_1684823344372_465659093 | |
function myFunction() { | |
const iframe = document.getElementById("ifBdy"); | |
const iframeContent = iframe.contentWindow.document; | |
const elementInFrame = iframeContent.querySelector('body'); | |
elementInFrame.style.backgroundColor = "green"; | |
elementInFrame.textContent = "Привет, мир!"; | |
alert('єто виполнилось только через N сек.'); | |
} | |
setTimeout(myFunction, 3000); | |
///alert(1); | |
// Your code here... | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment