[Share] Search in Google Scholar #137
raykr
started this conversation in
Action Scripts
Replies: 5 comments 3 replies
-
Using the built-in variable |
Beta Was this translation helpful? Give feedback.
0 replies
-
话说这个脚本与 |
Beta Was this translation helpful? Give feedback.
1 reply
-
更改了一下,因为有时候pdf文件名叫“全文”,从pdf界面搜索就会搜索”全文“。给改成按照论文名字搜索了。 if (item.isAttachment()) {
parentItem = Zotero.Items.getTopLevel([item])[0]
const queryTitle = parentItem.getField("title").replace(/\s+/g, "+")
Zotero.launchURL(`https://scholar.google.com/scholar?q=${queryTitle}`)
}
if (item.isRegularItem()) {
const queryTitle = item.getField("title").replace(/\s+/g, "+")
Zotero.launchURL(`https://scholar.google.com/scholar?q=${queryTitle}`)
} |
Beta Was this translation helpful? Give feedback.
1 reply
-
请问如何选择用Google chrome打开网址 |
Beta Was this translation helpful? Give feedback.
1 reply
-
I like this script. if (item) {
const topLevelItem = item.isAttachment() ? Zotero.Items.getTopLevel([item])[0] : item;
const queryTitle = encodeURIComponent(topLevelItem.getField("title"))
Zotero.launchURL(`https://scholar.google.com/scholar?q=${queryTitle}`)
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Search paper in Google Scholar.
Event
None
Operation
Script
Data
Anything else
No response
Beta Was this translation helpful? Give feedback.
All reactions