Basically, the bookmarklet needs to look at the domain of the site that is being loaded, and if it is one of our domains, pop-up a window for action...
However, most bookmarklets need to be explicitly activated by the user using a click on the bookmarklet. Is there a way to make the bookmarklet aware of every new window/page loaded b...
I realize this isn't terrific from a security perspective but humor me.
Is there a way to create a bookmarklet that submits a form, such as a login form. For example, this works, but only if there is a page loaded in the current browser window:
javascript:(function(){document.body.innerHTML += '<form id=f action=https://www.mysite.com/...
I need either a javascript which can click on a button. The thing is, there are 100+ buttons on the page all with the same value. The name is unique but quite long.
The full name of the element is something like :
actions[http://apps.facebook.com/frontierville/giftaccept.php?next=giftaccept.php&amp;senderId=1%3A1325206719&amp;...
I need a javascript bookmarklet which can click on a button. The thing is, there are 100+ buttons on the page all with the same value. The name is unique but quite long.
The full name of the element is something like :
actions[http://apps.facebook.com/frontierville/giftaccept.php?next=giftaccept.php&amp;senderId=1%3A1325206719&...
I used to use the following bookmarklet code to swap URLs between my site's staging server and live server, so I could test that staged pages had been successfully pushed live:
Staging URL: www.stage.site.com/folder/page.html
Live URL: www.site.com/folder/page.html
Here's the code for that bookmarklet; the script works in both directi...
i have this js bookmarklet that makes all the current page's font colors black.
what i wanted is to maintein the effect of the bookmarklet even clicking on the page's links
javascript:(
function(){
var newSS, styles='* { color: black !important }';
if(document.createStyleSheet) {
document.createStyleSheet("javascript:'"+styles+"'"...
Is it possible to have a javascript bookmarklet to add in a new input box into an existing page? Basically I need to have a prompt box to save a variable but I don't want it to pop up, I want it just in the page so I can then have it filled out and submit so the variable can be used in another piece of javascript. Its kind of confusing...
hey guys,
wonder what i'm doing wrong?
javascript:document.getElementsByTagName('textarea').innerHTML='inserted';
i want to create a bookmarklet to insert simple text to a textarea on a given webpage.
regards matt
...
Hello,
I'm creating a modal window bookmarklet that allows you to quickly add content to my website. It all works fine and dandy except for non-html content, because then it cannot append data to the body. Instead, I'd like to do a simple location.href.
Current code:
if (typeof jQuery == 'undefined') {
var jQ = document.createElem...
Hi, I'm creating a bookmarklet and everything was going ok. I had a function that loads jQuery asynchronous if the page didn't have it and then load my script or load my script directly if the page had jQuery.
Then I try to use the delegate function which is only available in jQuery 1.4.something. I can check the jQuery version with $()...
Hi I'm trying to make a javascript bookmarklet that will add a link to an external javascript source to a page that is off the domain. However nothing happens when I run the bookmarklet no errors and the code on the page never changes. Any ideas? Here is the bookmarklet I'm trying to use. Thanks for your time.
javascript:(function(){do...
Hi all,
I am making a bookmarklet where I need people to login first. My question is how do I send login credentials to the django server from a different domain?
I was thinking there were a couple ways, since I can't use send data via request.
Generate the sha1 algo on the client-side...but then how do I know what Django is salting ...
Can I have a bookmarklet run (javascript) and close the window (in this case actually sidebar) at the end of the script?
I've been reading around and haven't found out if it isn't possible, but it looks bleak. (>_<)
If not through a sidebar, could I do it with a tab?
...
Hi, I'm trying to configure a bookmarklet to compose a new message from my Gmail account in a new window. The problem is that I always get a scroll bar on the right hand side. Here's what I'm using right now.
javascript:(function(){ window.open('https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&shva=1','Compose Gmail'...
Chrome for Mac won't let me add (drag) the bookmarklet into the bookmarks bar. It works in every other browser, however.
Why might this be? And how could I fix it?
...
I'm working on a bookmarklet which uses jQuery UI Dialog. I understand that frameset doesn't allow div to be inserted, thus the dialog won't show. Need some ideas to overcome this issue.
...
When you put this in your browser it opens a simple notepad to type in.
I don't know enough about javascript to alter it but I would like to make it so it DOESN'T open in a new window but rather in the current window or another tab.
Is this even possible?
javascript:pwin=window.open('','_blank','menubar=yes,scrollbars=yes,location=no,...
javascript: var d = document,
w = window,
e = w.getSelection,
k = d.getSelection,
x = d.selection,
s = (e ? e() : (k) ? k() : (x ? x.createRange().text : 0)),
f = 'http://www.tumblr.com/share',
l = d.location,
e = encodeURIComponent,
p = '?v=3&u=' + e(l.href) + '&t=' + e(d.title) + '&s=' + e(s),
u ...
It should work like this:
Fire a bookmarklet
Select the first element by clicking
Select the second element
It outputs a series of jQuery calls which would allow selecting the second element given a reference to a first element (i.e. using relative positions of the two elements in a DOM tree).
Is there such a bookmarklet (or browser ...
So, I want to search for a text (say "wikipedia") and have all the "wikipedia" in the page turn into a link that redirects to wikipedia.
Thanks!
...