LoginSignup
1
1

More than 1 year has passed since last update.

Googleフォームの回答を画面キャプチャで共有するときに便利なスクリプト

Last updated at Posted at 2021-09-08

ちょっとした小技です。

Googleフォームの回答ですが、グラフが見やすいので、そのまま画面キャプチャして共有したいですよね。

ただ、回答数が多かったり、長い回答があるとテキストが見切れてしまうのが難点です...。

image.png

そんなときは、ChromeならCtrl+Shift+Iで開発者ツールのコンソールを開いて、次のスクリプトを実行します。

javascript:(function(){
  document.querySelector('#tJHJj').remove();document.querySelector('.freebirdFormeditorViewResponsesSummaryResponsetrackerRoot').remove();
  for (const e of document.querySelectorAll('.m2 .freebirdCommonAnalyticsTextResponsesContainer')) {
    e.style.maxHeight = '1200px';
  }
})();

すると、スクロールバーが消えていい感じになります。ついでに、画面キャプチャーしたときに邪魔になるヘッダーと、個人情報となるメールアドレスも消しています。

image.png

あとは、Chromeなら開発者ツールでコマンドメニューを使い、Ctrl+Shift+Pのあとにfullを入力して、フルサイズの画面キャプチャーをすればOKです!
image.png

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1