Questions tagged [bookmarklet]

A bookmarklet is a browser bookmark for a URL using the 'javascript:' protocol. The 'javascript:' prefix is followed by a snippet of JavaScript code. When invoked, instead of navigating to a new page, the script is executed within the context of the current page.

A bookmarklet is a browser bookmark for a URL using the javascript: protocol. The javascript: prefix is followed by a snippet of JavaScript code. When invoked, instead of navigating to a new page, the script is executed within the context of the current page.

1355 questions
0
votes
2 answers

JavaScript Bookmarklet get url + title

I've been struggling with this for quite some time now, and can't seem to get it right. What I'm trying to do is create a bookmarklet which sends the page url + title to a php script. This php script then echoes said information. I figured that this…
Jefferson
  • 993
  • 2
  • 16
  • 35
0
votes
1 answer

Extension to automate screenshots using a carousel

Despite multiple searches I am asking as most responses do seem quite old now. Essentially, I want to take screenshots of a single webpage with a five slot carousel. I want to screengrab each carousel and save automatically in a folder defined by…
0
votes
1 answer

Javascript: initiate file download and route file off via POST

Every so often (seems about once a year) I get a chance to play with JS. While not proficient, I'm comfortable enough to get the job done if I have some good references. At this point, I feel like I'm just not coming up with the right search terms…
mOrloff
  • 2,547
  • 4
  • 29
  • 48
0
votes
2 answers

Create a Bookmarklet that clicks multiple buttons on one page

I created a bookmarklet for a site a while back that ticks multiple checkboxes on a page: javascript:javascript:;$("input[name='unfollow[]']").attr({checked:true}); Unfortunately the UI has changed and instead of checkboxes there are buttons that…
iagdotme
  • 1,033
  • 2
  • 21
  • 38
0
votes
3 answers

How to detect if a bookmarklet is installed in browsers?

I want to detect if a user has drag and drop the bookmarklet I created to the bookmark menu. Is there any way to do this?
chaonextdoor
  • 5,019
  • 15
  • 44
  • 61
0
votes
0 answers

Creating HTML layout/templates in a js/jquery bookmarklet

I currently have the following: var inputDiv = $('
').addClass('testing inputd').css({ width: "90px", height: "245px", border: "1px solid #000", "background-color": "#fff", padding: "3px", position: "fixed", top:…
Stephen K
  • 697
  • 9
  • 26
0
votes
1 answer

WOT Bookmarklet

I'm trying to write a bookmarklet that will allow me to view the Web Of Trust (WOT) ratings for all the links on a page before visiting them. While WOT provides their own bookmarklet, it is not very useful since you need to visit the page first…
S.A
  • 1
0
votes
2 answers

Bookmarklet - Verify URL format and extract substring

I'm trying to build a bookmarklet that preforms a service client side, but I'm not really fluent in Javascript. In my code below I want to take the current page url and first verify that it's a url following a specific format after the domain, which…
Kevin Hamil
  • 81
  • 1
  • 1
  • 8
0
votes
1 answer

Javascript Bookmarklet Get Url Variable, Open Multiple Search Windows

I tried for months to build this myself before asking but at this stage I'm forced to accept that I will only ever be the worst kind of code-stealing script-kiddie and am terrible at javascript. Confession over, I need a single bookmarklet that when…
ninjaholic
  • 15
  • 4
0
votes
1 answer

Replacing a URL in a popup window

Ok I am wanting to replace a popup URL with another URL, in my case the same link, with setTimeout but I do not know how to do this. So far I have gotten this code.....