Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


How to have bookmarklets open in a new window?

  • Please log in to reply
No replies to this topic

#1 dremits


  • Members
  • 34 posts
  • Gender:Male
  • Local time:07:22 PM

Posted 14 July 2010 - 02:27 PM


I have a number of bookmarklets in Chrome that work by taking a selected section of text and searching on a site using the text as search terms. My problem is that some of the bookmaklets will open in a new tab and others won't so i'm trying to edit said bookmarklets so that they too open in a new tab.

For example I have a Wikipedia bookmarklet that searches selected text in Wikipedia and opens in a new tab: http://pastebin.com/VeGku9sp
And here is an IMDB bookmarklet that opens in the current tab: http://pastebin.com/kZGHfEBG

Despite my best attempts with my little coding knowledge i'm afraid i'm not sure what bit of code I need to include in the IMDB bookmarklet that will enable it to open in a new tab.

I'd appreciate any help. Thanks!


BC AdBot (Login to Remove)


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users