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
1 answer

Bookmarklet to extract text offset from specific HTML tags

I want to write a bookmarklet to automate search I do on a specific Web page. I need to look for the string “IP Cliente :", go to the next line and extract the IP number from the string “93.103.61.18”. Then I want to feed the IP number to the…
gciriani
  • 611
  • 2
  • 7
  • 19
0
votes
1 answer

iPad safari bookmarklet - why does it require 2 taps?

I have a bookmarklet like…
tim
  • 3,823
  • 5
  • 34
  • 39
0
votes
1 answer

Changing IE Document Mode via Bookmarklet

I am currently in development of a bookmarklet that triggers a fancybox Iframe when an image is clicked on a website. This bookmarklet works great in all browsers except IE 9's Quirks Mode. In fact, it not only screws up the rendering of items on…
0
votes
1 answer

Check Session Cookies over JSONP

I have created a bookmark that extracts all images from a page when clicked and sends the img's src back to another (remote) server via JSONP. Problem: The remote server has to check for session authentication cookies to ensure that the user sending…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
0
votes
1 answer

How is this boorkmarklet working

javascript: void((function(d) { if(self!=top||d.getElementById('toolbar')&&d.getElementById('toolbar').getAttribute('data-resizer')) return%20false; d.write('
Hovhannes Sargsyan
  • 1,063
  • 14
  • 25
0
votes
1 answer

Bookmarklet error when running script

I have code is this jsFiddle I have it in a script called AutoPolicy.js at the same location, which I'm trying to call using a bookmarklet: javascript:…
davy
  • 4,474
  • 10
  • 48
  • 71
0
votes
1 answer

Bookmarklet behind elements

I have a bookmarklet that will come up with a iframe that will load a web form I have. On most site, it works fine with the bookmarklet on top of every element in the current html page. But for certain sites with a lot of javascript loading (e.g.…
qwertyuu
  • 1,055
  • 1
  • 10
  • 14
0
votes
1 answer

Bookmarklet script too long to create application shortcut

I figured out how to create a bookmarklet for Google Analytics that opened to immediately show only today's stats. I wanted to make a Google Chrome application shortcut for this to go along side my other Google Apps shortcuts, but the first problem…
Paul Carbo
0
votes
1 answer

Why won't this bookmarklet work when I click on it in my bookmarks bar?

I wanted to make a bookmarklet that changes the current YouTube URL to its equivalent on listenonrepeat.com, so I could repeat the video. I have a bookmark in my bookmarks bar with the following…
Doug Smith
  • 29,668
  • 57
  • 204
  • 388
0
votes
3 answers

Bookmarklet to force IE6 to start autorefreshing a page?

One of my coworkers needs a piece of data from a 3rd party website. That data gets posted to a site each morning at an arbitrary time. He has to sit there and click refresh in his browser every 10 seconds until it shows up. He asked me if I could…
Sukotto
  • 2,472
  • 6
  • 26
  • 31
0
votes
1 answer

Assigning a Bookmarklet Icon

Possible Duplicate: How to have favicon / icon set when bookmarklet dragged to toolbar? I created a bookmarklet on the following page... http://www.wishwrapped.com/pinit Can anyone tell me how to set the icon when it is dragged to the bookmark…
Brian
  • 201
  • 2
  • 16
0
votes
1 answer

When and how to use !important CSS property in a bookmarklet with cross domains?

I have a bookmarklet and recently I have changed the CSS properties, using cleanslate css because the bookmarklet design was not the same on third party websites, when used. This CSS file, should reset all the properties of all the tags within a…
Ionut Flavius Pogacian
  • 4,750
  • 14
  • 58
  • 100
0
votes
0 answers

How to make cURL function curl_exec to work under Server with restricted permissions?

I have been developing a bookmarklet, and at some point this app has to load a webpage content. For the last 8 months, i have been developing the app on a server that does not have limitations. Now, i had to setup the app on another server, in order…
Ionut Flavius Pogacian
  • 4,750
  • 14
  • 58
  • 100
0
votes
1 answer

Bookmarklet - grabbing videos from other sites

I want to grab videos from other sites (youtube.com, vimeo.com) via bookmarklet. I have created bookmarklet. It works for "selectd text" and "images" but how to do with videos? Any Idea? Thanks in Advance.
Aayushi
0
votes
2 answers

Word count bookmarklet

I'm trying to create a word count (for any page) bookmarklet without loading an external file. In short I want to click the bookmarklet and then be able to drag and select text on the screen and get an alert with the number of words selected. I have…
Tamler
  • 130
  • 1
  • 8