Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bookmarklet]

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

0
votes
0answers
9 views

Mozilla Firefox Javascript working from console, not from bookmark

I have problem with JavaScript in mozilla firefox. I want to automatically refresh page so i found this code in other topic on this site. Automatically reload page in Chrome without plugin javascript:...
1
vote
0answers
23 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 ...
0
votes
2answers
30 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 ...
0
votes
2answers
67 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 ...
0
votes
1answer
74 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 ...
1
vote
1answer
804 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 ...
0
votes
0answers
23 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 ...
0
votes
1answer
229 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() ...
1
vote
1answer
770 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?
3
votes
1answer
2k 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: ...
3
votes
1answer
1k 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 ...
0
votes
1answer
78 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 ...
0
votes
1answer
644 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 ...
2
votes
0answers
70 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 weapon in dealing with different situations on the web. Sometimes it's hard to remember all ...
1
vote
1answer
501 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. ...
2
votes
1answer
78 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)+'/'+...
4
votes
1answer
2k 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 ...
0
votes
1answer
136 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?
0
votes
2answers
351 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 ...
23
votes
5answers
10k 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 ...
1
vote
1answer
295 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 ...
3
votes
2answers
7k 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"}...
1
vote
2answers
601 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?
0
votes
0answers
590 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.
1
vote
1answer
147 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 ...
1
vote
2answers
329 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 (...
5
votes
6answers
4k 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?
1
vote
1answer
528 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>&...
1
vote
2answers
390 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!
8
votes
1answer
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 ...
3
votes
1answer
125 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 ...
2
votes
2answers
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 ...
1
vote
3answers
750 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 ...
3
votes
1answer
120 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 ...
1
vote
1answer
288 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 ...
5
votes
3answers
15k 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 ...
1
vote
1answer
152 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.
0
votes
1answer
258 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. ...
0
votes
1answer
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 ...
12
votes
3answers
7k 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 ...
9
votes
1answer
1k 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 ...
0
votes
3answers
279 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 ...
7
votes
2answers
765 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 ...
0
votes
1answer
283 views

OS X “service” for running JavaScript bookmarklets in any app?

I have some JavaScript bookmarklets that work on the selected text in a web page, but I'd like to be able to use them on the selected text in any Mac OS X app, not just browsers or things that provide ...
18
votes
11answers
6k views

Google Chrome plugin/bookmarklet: “open in Firefox”?

Is there a plugin or a bookmarklet for Chrome which opens the current page in Firefox? Update: Thanks Phoshi for the suggestion. Here is my AutoHotKey script (not messing with the clipboard...): #...
1
vote
2answers
2k views

bookmarklet to change firefox images to low res? [closed]

I'd like to know if there is a bookmarklet that changes the image resolution to low in forefox? I often log onto my computer remotley and browse some websites with a fairly slow connection when I am ...
20
votes
5answers
13k views

How can I add a Firefox bookmark as toolbar button?

I have a bookmark that I use to 'zap colours' from websites: javascript:(function(){var%20newSS,%20styles='*%20{%20background:%20white%20!%20important;%20color:%20black%20!important%20}%20:link,%20:...
2
votes
1answer
311 views

How do you use http://toread.cc without a bookmarklet?

Is it possible to use http://toread.cc without having to use a bookmarklet? This is a website which will e-mail webpages of your choosing to you. The only way to use it though is with a boomarklet. ...
15
votes
7answers
4k views

How can I add a favicon to a bookmarklet in Firefox?

Bookmarklets, such as SuperGenPass don't have favicons, because they are javascript: links and Firefox doesn't know where it would obtain the favicon from. Is there any way to add a favicon to a ...
4
votes
4answers
254 views

What are the most useful bookmarklets for a superuser who do not have extension support? [closed]

After the release of Google Chrome I changed my default browser from Firefox to Chrome. I was a fan of Firefox but Chrome was what I've been waiting for because of its speed and some other features. I ...