Answers for "take full page screenshot js"

5

javascript full screen

//creating a button and linking it to bClicked()
document.onload=()=>{
  let b = documentbody.createElement("button");
  b.onclick = bClicked;
}

function bClicked(){
  //yourID is the id of element that you want to fullscreen 
  document.getElementByID("yourID").requestFullscreen();
}

//to exit fullscreen
document.exitFullscreen();
Posted by: Guest on April-12-2021
-1

how to take full page screenshot

#if you want a screen shot using python:
import pyautogui
pyautogui.screenshot("screen shot.png")
Posted by: Guest on July-14-2021

Code answers related to "take full page screenshot js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language