Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [bookmarklet]

A bookmarklet is a bookmark stored in a web browser that contains JavaScript commands to extend the browser's functionality.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Chrome bookmarklet to expand examples elements on a dictionary webpage

I created the following Chrome bookmarklet to open all elements with text Extra Examples boxes on this page. For example - the element labeled with text Extra Examples below can be clicked: When it ...
Mori's user avatar
  • 35
2 votes
0 answers

Bookmarklet for selecting code snippets on StackExchange in 2021

The following code will add to each code block on or a 'Select Code' button that will select the code belonging to that block. This was ...
konijn's user avatar
  • 33.2k
2 votes
1 answer

Selectively printing elements on web page using a bookmarklet

There is a web page I visit which I would like to print. However, I only want to print a couple of things on it, not everything. So, I am making a bookmarklet that I can use whenever I visit the page ...
S. Melted's user avatar
  • 221
2 votes
1 answer

Copying text to the user's clipboard

Here's my code. ...
not legit's user avatar
2 votes
0 answers

Bookmarklet to quickly fill an input with a maximum width string for visual testing purposes

I'm currently working on a complete overhaul of the CSS of our flagship product with a goal of maintainability and simplification. During the testing, my coworkers and I have found that a lot of pages ...
Nzall's user avatar
  • 1,538
5 votes
2 answers

Bookmarklet that helps Stack Exchange users farm reputation

I made a bookmarklet called RepAdvisor (more info at this link) that rates Stack Overflow questions based on how easy it is to gain reputation by answering them. ...
clickbait's user avatar
  • 266
0 votes
2 answers

Bookmarklet to go to YouTube channel RSS feed

I've written a simple bookmarklet to go to the YouTube channel RSS feed URL from at least any video or channel page: ...
l0b0's user avatar
  • 8,917
2 votes
1 answer

Efficient Traversal and Manipulation of the DOM with Native JavaScript Using For/In Loop

With native JavaScript, I intend to traverse a collection of elements in the DOM that contain a link and an image (and possibly other elements). The image may or may not be inside the link—in ...
purefusion's user avatar
2 votes
2 answers

JavaScript bookmarklet with a 24 hour cache

I'm working on a bookmarklet that will be cached for 24 hours only, after that time it will be reloaded from the original source. Is there something I could improve? ...
Uli's user avatar
  • 23
10 votes
2 answers

Tool for automatically correcting indentation and formatting of CR & SO code

This is my tentative solution to: How can I prepare my code so that I can paste it formatted? If you need to copy and paste code into the question or answer textarea when solving someone's problem, ...
sqykly's user avatar
  • 940
13 votes
2 answers

Bookmarklet for selecting code snippets on Code Review

The following code will add to each code block a 'Select Code' button that will select the code belonging to that block. Please review for maintainability. In order to use this, visit http://...
konijn's user avatar
  • 33.2k