hook iFrame

dcomicboy Feb 26th, 2020 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. This could should work with TamperMonkey
  3. function CodeEdit() {
  4. var x = document.querySelectorAll("screenshotMode_body");
  5.     for (var i=0; i<x.length; i++) {
  6.         x[i].setAttribute('style', 'display: block;');
  7.     }
  8. }
  9. CodeEdit();
  11. What that code would do is when it detects the div id="screenshotMode_body" it should add the style attribute of display: block;. You'll know it activated as pink text shows on screen "RUSH RACING 2"
  13. The reason it fails is I have yet to figure out how to hook the iFrame its in
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand