본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

I want to search 5 library catalogs at once

  • 12 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: cor-el

more options

I would like to search five libraries at one time. Is there a way I could create a simple webpage or whatnot so that I could type in my search word once and then have five different libraries' search engines running at the same time with the same search word?


They are in this sort of syntax:

https://www.LibraryA.com/search?query=%s

https://www.LibraryB.com/search?query=%s

https://www.LibraryC.com/search?query=%s

https://www.LibraryD.com/search?query=%s

https://www.LibraryE.com/search?query=%s

where ”%s” is all the same keyword/phrase.

I would like to search five libraries at one time. Is there a way I could create a simple webpage or whatnot so that I could type in my search word once and then have five different libraries' search engines running at the same time with the same search word? They are in this sort of syntax: https://www.LibraryA.com/search?query=%s https://www.LibraryB.com/search?query=%s https://www.LibraryC.com/search?query=%s https://www.LibraryD.com/search?query=%s https://www.LibraryE.com/search?query=%s where ”%s” is all the same keyword/phrase.

글쓴이 tailonfire 수정일시

모든 댓글 (12)

more options
more options

McCoy, that doesn't help. These searches are searches in library catalogues, not the World Wide Web.

more options

I must have misconstrued your question, but I notice that you edited your original post after my suggestion ..... (?)



I'm not sure if this is what you're looking for, but would you please take a look at this :

https://www.chronicle.com/blogs/profhacker/searching-multiple-libraries-with-the-chrome-library-extension/63886

https://addons.mozilla.org/en-US/firefox/addon/libraryextension/

more options

Maybe try a JavaScript bookmarklet.


javascript:(function(){var sl=['https://www.LibaryA.com/search?query=!!','https://www.LibaryB.com/search?query=!!','https://www.LibaryC.com/search?query=!!','https://www.LibaryD.com/search?query=!!','https://www.LibaryE.com/search?query=!!'],so,sp,sn;if((sp=prompt('Search terms',''))!=null){sp=encodeURIComponent(sp);for(sn in sl){so=sl[sn].replace('!!',sp);if(prompt('open',so)){window.open(so)}}}})()

글쓴이 cor-el 수정일시

more options

Again you edited your original post after I posted a suggestion ....

Would you please use the "Post a Reply" box to post additional information ?

more options

cor-el, thanks. Is there a way I can just type something like "lib foo fie" in Firefox's search bar, and all five library catalogs will be searched without having to click on the bookmarklet?

It seems that with the bookmarklet, I have to do a lot of clicking... Clicking to allow pop-ups. Clicking to return to the original tab to allow future dialog windows.

글쓴이 tailonfire 수정일시

more options

글쓴이 cor-el 수정일시

more options

corel, why are there 2 codes in your last reply?

more options

Both codes do the same, only the second code is more compact and uses '%s' only in windows.open (the links have a blank query parameter). You only need to use one of them.

more options

Corel, I tried the top code but it doesn't work, whether I do a keyword search (e.g., "e king") or clicking on the bookmark in my bookmark toolbar. When I click the bookmark, nothing appears. When I type "e king" in the URL bar, it just seems to paste the javascript code into the URL bar.

more options

How about a basic HTML page that can do this?

more options

You can disable the pop-up blocker (i.e. allow all pop-up) in Firefox temporarily to allow the JavaScript to open the tabs.