javascript google_structured_data_testing_tool_opener.js

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了javascript google_structured_data_testing_tool_opener.js相关的知识,希望对你有一定的参考价值。

// A simple bookmarklet that opens the current URL on Google's 
// Structured Data Testing Tool. Useful for checking for 
// Schema.org ClaimReview and other embedded structured data.
// Author: @paulmwatson
// License: MIT
// Usage: Go to a URL you think has structured data and click the 
// bookmarklet e.g. https://africacheck.org/reports/zumas-anc-birthday-speech-6-claims-fact-checked/
// Installation: Create a new bookmark in your bookmarks bar and put the following as the URL.
javascript:var u = window.location.protocol + '//' + window.location.host + window.location.pathname; window.open('https://search.google.com/structured-data/testing-tool#url=' + encodeURIComponent(u));

以上是关于javascript google_structured_data_testing_tool_opener.js的主要内容,如果未能解决你的问题,请参考以下文章

javascript JavaScript isset()等效: - JavaScript

JavaScript 使用JavaScript更改CSS(JavaScript)

JavaScript之基础-1 JavaScript(概述基础语法)

前端基础-JavaScript的基本概述和语法

JavaScript

JavaScript