Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Options::get is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-view.php on line 131
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-options.php on line 48
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::sns_list is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 218
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 206
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::get_current_url is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 219
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::notification_list is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 251
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 232
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 235
大抵のウェブサイトはテキストを選択してコピーしたり、HTMLソースを出してコピペしたり出来ますが、稀にそう出来ないようにしているサイトがあります。
盗用するのは駄目ですが、ソースを参考に見たい、といった時にHTMLソースをコピーする方法を紹介します。
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4923
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4929
コピペ禁止のページのHTMLをChromeを使ってコピーする
HTMLソースを見られたり、データを盗用されたりしないために右クリックやコピーを禁止しているサイトがたまにあります。
けどページが表示されている、ということはHTMLは読み込まれているわけで、これをJavaScriptなどを使ってコンテキストメニュー(右クリックで表示されるメニュー)を出さないようにしたり、クリップボードに格納しないようにしたり制限をかけている訳です。
時にこれだと不便なことがあるので、Google Chrome(恐らくFirefoxでも同じ事が出来ます)の「デベロッパーツール」を使ってページのHTMLソースを丸々コピーする方法を紹介します。悪用厳禁ですよ?
Google Chromeのデベロッパーツールの使い方
ウィンドウ右上にある「︙」からメニューを開きます。
「その他のツール」から「デベロッパーツール」を選択。
またはCtrl+Shift+IのショートカットでもOK。

するとウィンドウ右側にこんなウィンドウが出てきます。
ウィンドウの上にある「Elements Console Source・・・」という所から「Elements」を選択すると、いま表示されているページのHTMLソースが表示されます。
ここから上の方にある<html>タグを選択して(例の場合は<html lang…となっているところ)右クリックすると「Copy」という項目があり、さらにメニューが伸びて「Copy OuterHTML」を選択するとこのページのHTMLがほぼ全てコピーされます。

Webデザイナーや開発者が使うデベロッパーツール
この「デベロッパーツール」、Webデザイナーや開発者が表示されているページのデザイン指定や読み込みの順番などを確認するために使うツールです。そしてChromeに読み込んだデータは全て表示できるようになっています。
なので、コピー禁止の設定があるサイトでもこのデベロッパーツールを通じてならHTMLが表示されるわけです。