RSS Amplifier

SEO Workflow Automation · Mar 12, 2024

2 Essential GSC Bookmarklets 🔥 – Save Time Instantly!

0
Sign in to vote or save

Mihir Naik · SEO Workflow Automation

I’m sharing two Javascript bookmarklets here that will help you do the following:

  1. 🌍 Open GSC View of the website you are browsing.

  2. 📄 Open GSC View of the specific page you are browsing.

As you are probably aware, Google Search Console allows you to add the websites in following ways.

  1. Domain Property (i.e sc:domain:example.com)

  2. URL Prefix Property (i.e. https://www.example.com)

Before you go further, I would like your feedback on my topics selection.🤔 This will help me improve.

Got any topics or tools you’re itching to see? 📝 Drop me your wish-list or any cool ideas you’ve got! 💡✨

  1. Go to Bookmark Bar, Right Click, and click on Add a Page

  2. Give the name as given below or feel free to change as you like.

  3. In URL Field, put the following code depending on your GSC Property Types

You will need different code in Bookmarklets for the type of property you have.

Bookmark Name: GSC - Full Website (Domain Property)

javascript: (function() {

var domain = window.location.hostname;

var resource_id = "sc-domain:" + domain;

var chromeUrl = "https://search.google.com/search-console/performance/search-analytics?resource_id=" + encodeURIComponent(resource_id);

if (chromeUrl) {

window.open(chromeUrl, "_blank");

}

})();

Bookmark Name: GSC - Specific Page URL (Domain Property)

javascript: (function() {

var domain = "sc-domain:" + window.location.hostname;

var page_path = window.location.pathname + window.location.search + window.location.hash;

var encodedPagePath = encodeURIComponent(page_path);

var url = "https://search.google.com/search-console/performance/search-analytics?resource_id=" + encodeURIComponent(domain) + "&page=!" + encodedPagePath;

window.open(url, "_blank");

})();

Bookmark Name: GSC - Full Website (URL Prefix Property)

javascript: (function() {

var resource_id = "https://" + window.location.hostname + "/";

var chromeUrl = "https://search.google.com/search-console/performance/search-analytics?resource_id=" + resource_id;

if (chromeUrl) {

window.open(chromeUrl, "_blank");

}

})();

Bookmark Name: GSC - Specific Page URL (URL Prefix Property)

javascript: (function() {

var page_url = window.location.protocol + "//" + window.location.hostname + window.location.pathname;

var url = "https://search.google.com/search-console/performance/search-analytics?resource_id=" + window.location.protocol + "//" + window.location.hostname + "/&page=!" + page_url;

window.open(url, "_blank");

})();

⏰ I hope you enjoy using these, and saves you time.

If you have any other ideas, feel free to write me back 💬, and I will try to develop more bookmarklets for those.

Read the original on mihirnaik.substack.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.