Questions tagged [bookmarklet]

A bookmarklet is a piece of JavaScript code stored within a bookmark, which is executed by following the bookmark.

Filter by
Sorted by
Tagged with
0 votes
1 answer
99 views

Is this a malicious bookmarklet?

I was looking for a way to autoscroll and found this online and used it once. Is it bad and if so how do I protect my computer from anything malicious? Here is the bookmarklet: javascript:/*The%...
user1807015's user avatar
0 votes
1 answer
72 views

Bookmarklets executes slow in the background

I have a bookmarklet that jumps down (basically sends end repetitiously) to scroll down the feed on web sites that uses an "infinite feed" (e.g., Facebook, Quora). For obvious reasons, most ...
d-b's user avatar
  • 814
2 votes
0 answers
290 views

Firefox bookmarklet writes return value into page

I have a simple input (text) value manipulation bookmarklet for Firefox javascript:{let e=document.activeElement;let v=e.value;e.value=v+"xxx"} When I run it in console, it changes an ...
Lluser's user avatar
  • 855
0 votes
2 answers
1k views

Chrome Bookmarklet Works When Clicked, But Not When "Launched": Why?

I have a bookmarklet that fills in a form for me, and it works great when I click on it in my bookmarks toolbar. However, when I hit CTRL + L (the "launch" shortcut, which takes you to the ...
machineghost's user avatar
  • 1,092
0 votes
1 answer
253 views

Keyboard Shorcut to launch bookmarklet in Chrome for Mac

How can I launch a bookmarklet with a keyboard shortcut in Chrome for Mac? I've assigned mac keyboard shorcuts for them as one usually does in mac, and it works for normal bookmarks (websites) but it ...
Valentin Schmidt's user avatar
1 vote
1 answer
242 views

How can I make a bookmarklet to unhide youtube controls?

I found a command line to make a bookmarklet that hides the progress/controls bar on a YouTube video, so now I can pause the video and see the full image and take screenshots. Now I'm wondering how ...
Diane7elizabeth's user avatar
1 vote
1 answer
241 views

Is there a javascript bookmarklet to play all videos from a given video's channel on Youtube?

Quite often I fall on a youtube video I like, and am interested in seeing other videos from the same channel. I wanted a bookmarklet to reopen the video page with other videos from the same channel ...
André Levy's user avatar
3 votes
1 answer
212 views

Firefox URL given preference over keyword bookmarklet

I have a bookmarklet saved in Firefox, with a keyword assigned. When I want to execute the bookmarklet on a page, I hit ctrl-L, type the keyword, and hit enter. Until recently, this worked as ...
Wisco crew's user avatar
3 votes
1 answer
3k views

Google Chrome extension to run javascript code snippets instead using bookmarklets

I have a lot of bookmarklets that I use frequently. Currently I use my bookmark bar, which is filled up a little but, also you can't add icons, so the titles are mostly kept short. Are there any ...
CodeBrauer's user avatar
0 votes
2 answers
2k views

How to prefix a url with another url in a web browser using a bookmarklet?

There's a web service called outline.com. You paste urls into that website and it reloads the page in a neat formatting without the additional junk from the original page. Another method is to prefix ...
LWTBP's user avatar
  • 158
0 votes
2 answers
535 views

Possible to create bookmarklets in Firefox with parameters?

It used to be possible to create bookmarklets in Firefox that accepted parameters. For example, you could create a bookmarklet to open superuser.com and search for a term. You could then assign the ...
End Anti-Semitic Hate's user avatar
0 votes
1 answer
84 views

How to have tabmix plus not adapt bookmarklet names as tab title?

Tabmix Plus has the very nice option to let tabs display the bookmark title instead of the actual document.title. Unfortunately, this also includes bookmarklets, i.e. if I use a bookmarklet (a ...
Tobias Kienzler's user avatar
2 votes
1 answer
2k views

How to create a bookmarklet in Firefox with javascript disabled?

I've this bookmarklet in Firefox: javascript:void(location.href='https://example.com/url='+document.location.href) It works when I've enabled javascript for the actual webpage (the url which I want ...
EZM's user avatar
  • 121
0 votes
0 answers
40 views

translate a webpage and declutter at the same time? how?

Translate: google translate, either with bookmarklet or chrome extension declutter: Instapaper text bookmarklet. They used to work together sequentially, but recently Instapaper changed their ...
Shawn Ma's user avatar
0 votes
2 answers
1k views

Translate a page on Chrome using bookmarklets

Background On Chrome, I have a bookmarklet called Simplified to Traditional Chinese which translates all the simplified Chinese on the current page to traditional Chinese. javascript:( function() ...
Elizabeth Chu's user avatar
1 vote
1 answer
1k views

how to add bookmarklet in IE 11?

I can't figure out the way to manually add a bookmarklet, there is no edit option for url. I can save javascript bookmarklet embedded in webpages though. Anyone know is it possible?
Shawn Ma's user avatar
6 votes
1 answer
5k views

Modify URL using Javascript bookmarklet

Very new to Javascript but this seems to be a relatively easy task... I want to modify a URL using a Javascript bookmarklet for Chrome, etc. Here's what I need to change it from to: Original URL: ...
jmt's user avatar
  • 61
4 votes
1 answer
2k views

How to call firefox built-in pdf viewer (pdf.js) manually?

I have disabled Firefox's native PDF viewer so each PDF link doesn't open automatically and gets downloaded by default. And I like it that way. But I still want to open some PDFs in the viewer. So ...
Annarfych's user avatar
  • 143
0 votes
1 answer
355 views

bookmarklet that saves web page as-is and provides a link to it? [closed]

I recall there was a site that provided a java bookmarlet that would save the web page as-is (not just a .jpg screenshot), and instantly provide you a link where you could view it. It apparently ...
user498283's user avatar
1 vote
1 answer
2k views

Bookmarklet to take current url as a parameter to other URL

I want to make a bookmarklet that takes a string from current URL of the browser and passes it as parameter of my specific URL and reload this new URL in browser. The string required is after "=" sign ...
Programmer's user avatar
3 votes
1 answer
133 views

Show bookmarklets in Firefox location bar results?

I'm a heavy bookmarklet user and even heavier user of Firefox keywords. Combined, they're a real powerful tool in dealing with different situations on the web. Sometimes it's hard to remember all ...
certainlyakey's user avatar
1 vote
1 answer
578 views

How can I use bookmarklets in IE11 that involve cross-site scripting?

I'm trying to use some bookmarklets that involve loading javascript from a trusted website. In particular, OpenSpritz and Squirt I have Squirt working in Chrome, but I use IE11 for the most part. ...
Hand-E-Food's user avatar
  • 4,931
2 votes
1 answer
124 views

How to capture from sites like github?

I'm using the below bookmarklet with org-protocol/emacsclient to journal webpages (whitespace added): javascript:location.href='org-protocol://capture://'+ encodeURIComponent(location.href)+'/'+...
bright-star's user avatar
  • 1,589
4 votes
1 answer
4k views

Bookmarklet: run JS command after page is loaded

I build quite a lot of bookmarklets to automate my every day's work. Now I faced a problem: I would like (by clicking on a bookmarklet) to open a page in web browser (I use Internet Explorer 8) and ...
boleslaw.smialy's user avatar
0 votes
1 answer
153 views

How do I add a Unicode search to the JavaScript console of a desktop, mobile, or game console browser?

It would be nice if I could search for the Unicode escape sequence of a particular character using the browser JavaScript console or via a bookmarklet. Is there any way to easily do this?
Paul Sweatte's user avatar
0 votes
2 answers
2k views

Is it possible to run a specific bookmarklet in Chrome with a keyboard shortcut?

It would make it much easier to share my JS script with folks if they didn't have to install a plugin. On safari it's possible to use Cmd+number (I think) to directly load the n-th bookmark from the ...
Steven Lu's user avatar
  • 3,668
30 votes
5 answers
19k views

How to disable CSP in Firefox for just bookmarklets?

Today I have noticed that I am unable to run bookmarklets on https://github.com/ due to Content Security Policy (CSP) restrictions. Is there a way to disable CSP in Firefox for just bookmarklets, and ...
Lekensteyn's user avatar
  • 6,594
1 vote
1 answer
348 views

Firefox 19: Bookmarkets dont work

Simple javascript:alert() pasted into address input doesn't work. Javascript is fully enabled in Noscript, "[ ] Disable bookmarklets" for untrusted sites is not selected. It works if called from a ...
Smit Johnth's user avatar
9 votes
2 answers
18k views

Turn JavaScript into bookmark or bookmarklet?

I have created one script that shows passwords on hover just like Windows 8 on eye click. I have made this functionality through JavaScript with following code. function text(){this.type="text"}...
vishal's user avatar
  • 101
2 votes
2 answers
678 views

How can I get a 'Clone in Mac' function for GitHub Gists?

Github has a 'Clone in Mac' button for repos: Does anyone know any bookmarklet or Chrome Extension to be able to do the same for gists?
abernier's user avatar
  • 163
0 votes
0 answers
622 views

How to implement a bookmarklet for firefox 13 calling org-protocol and giving over a url/title?

Since javascript in bookmarklets of firefox 13 is no longer working, is there another method to implement a button that calls org-protocol and gives over the url and the title of the actual webpage.
testphys's user avatar
1 vote
1 answer
277 views

Bookmarklet to append the content of a link to the current page

I haven't had any luck with AutoPager or AutoPagerize on a particular site (books24x7.com), so I was thinking of a more general solution - is there a general way to load the content of a link right at ...
Pat's user avatar
  • 911
3 votes
2 answers
954 views

Is it safe to use an untrusted bookmarklet on a web page with sensitive data?

Is it safe to use an untrusted bookmarklet on a web page containing sensitive data, for example internet banking page? In particular, can a bookmarklet send the data anywhere or execute some actions (...
vitaut's user avatar
  • 180
8 votes
6 answers
8k views

Creating Hotkeys in Firefox for bookmarks (bookmarklets)

I would like to set up shortcuts (hotkeys) for several Firefox bookmarks (they're actually bookmarklets). One example is the pinboard.in bookmarklet. Does anyone know how to do this?
jdigital's user avatar
  • 901
1 vote
1 answer
600 views

Tweak tumblr share bookmarklet

I use Tumblr's sharing bookmarklet a lot (http://www.tumblr.com/goodies). This opens up a popup window with basically the following url: http://www.tumblr.com/share?v=3&u=<current page url>&...
st.never's user avatar
  • 168
1 vote
2 answers
613 views

Use a Bookmarklet Javascript in all opened windows/tabs?

Is it possible ? I'm using Google Chrome if someone can find an extension .. I've already looked for it , no results!
user avatar
8 votes
1 answer
1k views

How to create dynamic bookmark in Firefox?

Is it possible, or how to do it - to have bookmark (bookmarklet?) that, when clicking would open new page, that would have 2 parameters calculated based on current date? For example, today it would ...
user avatar
4 votes
1 answer
150 views

How do I restore the URL after running a bookmarklet with a keyword?

I like to use bookmarklets in Firefox, and my preferred way to run them is to type the bookmark keyword into the URL bar and hit Enter. This works, but Firefox replaces the URL with the code for the ...
user avatar
2 votes
2 answers
2k views

How do I add a Bookmarklet to the Navigation Bar in Firefox? [duplicate]

Possible Duplicate: how to add firefox bookmark as toolbar button I'm trying to find a way to add a single bookmarklet to the navigation bar in Firefox 7 - any method (add-on, hack, Greasemonkey ...
Alex Miller's user avatar
1 vote
3 answers
1k views

Run Bookmarklet/Javascript on Firefox startup

As the title says, I want to run a piece of javascript whenever firefox starts. My actual problem is that the firefox window always opens at 0,0 in the screen. I am on a debian system, with dwm as my ...
Manav's user avatar
  • 153
3 votes
1 answer
225 views

Is there a bookmarklet (or similar) that allows me to easily make and delete small marks on the screen?

Let's suppose that, hypothetically, you were playing an online browser-based version of Minesweeper in which there was no capacity to flag a square as a mine. Is there a bookmarklet that would more or ...
Qiaochu Yuan's user avatar
1 vote
1 answer
316 views

Open javascript bookmarklets from Quicksilver in Chrome

I finally made the switch from Safari to Chrome a few days ago, and I haven't looked back. There is one issue I've been running into though -- I used to be able to open javascript bookmarklets with ...
aaron's user avatar
  • 543
27 votes
3 answers
62k views

Add a bookmarklet in Google Chrome

I am currently running Chrome 11. I have been trying to figure out how to add a bookmarklet (which should be dead simple) and it's driving me crazy. This is the site I'm trying to drag the ...
Scott's user avatar
  • 1,643
1 vote
1 answer
178 views

Browser extension to zap images with keyboard shortcut

I'd like to find a browser extension or bookmarklet (Chrome and/or FF) that allows me to zap all images on a page with a single keystroke (CTRL+number for example) Any help much appreciated.
Scott B's user avatar
  • 709
0 votes
1 answer
296 views

Where did my Chrome bookmarklets go?

I'm using 8.0.552.224 Chrome. Sometime, over the holidays, my bookmarklets nearly completely disappeared. The bookmarklets are present in the default screen that shows when I open a new tab. ...
Rolnik's user avatar
  • 1,727
0 votes
1 answer
3k views

Why window.history.go() doesn't work from some pages?

(edit: changed most of the question) I got my answer regarding How to go to the very first page of a tab. Basically a bookmarklet javascript:window.history.go(-(window.history.length - 1)) It ...
Déjà vu's user avatar
  • 675
17 votes
3 answers
10k views

How can I add a favicon to a bookmarklet in Google Chrome?

I'm on OS X and I want my bookmarklets to have favicons. I already found two articles but they didn't help much: http://www.tapper-ware.net/blog/?p=97#comment-2076 It's a great article but as I ...
patrick's user avatar
  • 1,010
9 votes
1 answer
2k views

How do I setup keyboard shortcuts to bookmarklets in Firefox?

I'm using the wonderful bookmarklet Readability by Arc90, and it's been useful to the point where I almost always load it on pages I intend to read. I'm using Firefox 3.5 and/or 3.6 (it depends on if ...
samy's user avatar
  • 335
0 votes
3 answers
321 views

Email this webpage via google apps (for domains) from Chrome

Does anyone know of an easy way to email the link to a webpage in Google Chrome? Ideally, the method would take the title of the page and put it in the subject field, put the URL at the top of the ...
Pat's user avatar
  • 911
7 votes
2 answers
841 views

Why doesn't SuperGenPass work on some sites when I use Chrome?

Bookmarklet SuperGenPass sometime fails to popup when I click the bookmark in Chrome. It does however work when on the same page in Firefox; an example is http://www.engadget.com/login This ...
Lunatik's user avatar
  • 5,521