Right-click Google Scholar Search
Last updated
Was this helpful?
Last updated
Was this helpful?
In this tutorial, we'll automate a simple process: searching for the text you highlight in Google Scholar.
We'll use this page to develop our workflow, but afterward, you’ll be able to use this on any website.
✅Want to start using this mod rather than building it from scratch? You can with a few clicks from our marketplace.
Start by navigating your browser to this PBS article: . Then, .
The first time you open the Page Editor on a new webpage, you need to grant PixieBrix access to the page. You can grant permanent access by either:
Clicking Grant Permanent Access, or
Granting temporary access by clicking on the PixieBrix extension in the Chrome Extensions dropdown and then refreshing the page
Click New Mod in the top left of the Page Editor and choose Context Menu, and select Context Menu
In the Title field, replace "Context Menu Item" with "%s - Google Scholar"
To test your context menu configuration:
Highlight Duke Ellington on the webpage
Right click to expand the context menu. It should look like this
In the Sites field, click All URLs. This tells PixieBrix to show the context menu item on any webpage you visit
Scroll down to the Advanced Configuration. In the Advanced Permission section, click All URLs. This gives PixieBrix access to a page without you first clicking the context menu
Next, we'll figure out how to construct a search URL for Google Scholar.
After you click "Enter," you will be taken to the search results page, which has this URL:
Copy the following:
Toward the end of the URL, you will see q=Louis+Armstrong
. Google Scholar uses "q" as the search parameter.
We'll first need to add the “Open a tab” brick. Click the + icon to add a brick.
Search "open a tab" and choose it
In the URL, put https://scholar.google.com/scholar?
In the params field, click the arrow next to the “x” at the end of the row, then select “Object properties”
Click Add a Property. Delete property
and replace it with q
, the search parameter we identified in the URL.
In the Value text box type @input.selectionText
Clicking the Save icon will bring up a modal for Packaging a Mod. Set an alias if you haven't already and give the mod a unique ID and description, then click Create.
In a separate tab, go to the homepage and search for "Louis Armstrong"
To test your Search, highlight "Duke Ellington" in the PBS article, and click. A new tab should open to the following URL: . Click Save in the Page Editor, and try different searches on different web pages.
🙋Need some help with building? , and we’ll gladly help you!