Все вопросы: [bookmarklet]

62 вопросов

похожие теги:
1
голосов
2ответов
113 просмотров

Delicious English Only

How I can see English only bookmarks on Delicious? They don't have built-in support as of now. http://support.delicious.com/forum/comments.php?DiscussionID=2218 Is it possible via Javascript Bookmarklet or by some API? Thanks.

0
голосов
1ответов
317 просмотров

Bookmarking page to load specific Frame content, is there a FF add-on or somethign I can do with a bookmarklet?

I am using an application which has a cumbersome menu structure and I would like to create a bookmark to a specific page within the application. The app does not update the url as you click around each screen, and the top level source is I can get the url to the menu item I need, but if...

4
голосов
1ответов
1271 просмотров

How do I access currently selected text from a bookmarklet, while on gmail.com

I'm using FF 3.5.3 on Windows Vista. This is my (edited for shortness) bookmarklet: javascript:(function(){ var text = window.content.getSelection().toString(); alert(text); })(); Works, but not on gmail.com. Probably due to dynamicly generated content. I'm aware of this workaround, but it on...

0
голосов
2ответов
234 просмотров

What are the issue with putting markup outside ?

I have a bookmarklet storing a lot of DOM data, but I would love to avoid to put them out of the body tag so the script in the page won't mess with it. Semantic value is not an issue for once, but I would like to know : will it trigger some browser behaviour ? will it still be accessible in th...

2
голосов
1ответов
1336 просмотров

How to to dump JS array... (boommarklet?)

A page on a site I use is holding some of my data hostage. Once I have logged into the site and navigated to the right page, the data I need is in the array eeData[] - it is 720 elements long (once every 2 minutes of a given day). Rather than simulate the requests to the underlying stuff json su...

7
голосов
1ответов
1961 просмотров

Is there a way to automatically convert a Greasemonkey script into a bookmarklet?

For those who don't know what a bookmarklet is: http://en.wikipedia.org/wiki/Bookmarklet

-1
голосов
1ответов
579 просмотров

Bookmarklet Image Question

I'm trying to make bookmarklet to IF(url ends in .jpg || .png || .jpeg) dosomething(the url) ELSE onhover of any image, put a 50% opacity red cover over it. And onclick something(this.src) Catch, there might be a link already around it:

0
голосов
2ответов
469 просмотров

Change all links that have an image in it to: javascript(alert(thehref));

Change all links that have an image in it to: javascript(alert(thehref)); eg. <a href="/galleries/anna-leah-111827/image01.html"><img src="/source_galleries/anna-leah-111827/tn/01.jpg"></a> <a href="/galleries/23435/image01.html">ssss</a> becomes <a href="/ga...

1
голосов
1ответов
809 просмотров

Close a bookmarklet after submitting form

This is related to question "Bookmarklet behind elements". I want to either self close the iframe after form submission or if not possible, add a close button with the iframe to close it. my bookmarklet at the moment is javascript:(function(){var iFrame=document.createElement('IFRAME');iFrame...

0
голосов
1ответов
137 просмотров

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. meebo.com), the loaded iframe will go below. How c...

0
голосов
1ответов
1547 просмотров

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 is that it only creates an application with the...

0
голосов
3ответов
534 просмотров

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 write something to make that page auto refresh ev...

0
голосов
1ответов
109 просмотров

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.

0
голосов
3ответов
279 просмотров

How can a bookmarklet access a Firefox extension (or vice versa)

I have written a Firefox extension that catches when a particular URL is entered and does some stuff. My main app launches Firefox with this URL. The URL contains sensitive information so I don't want it being stored in the history. I'm concerned about the case where the extension is not ins...

0
голосов
1ответов
328 просмотров

Conceptual: bookmarklet to create a header form and remove it again after submit

So I've been pondering this for some time and trying out various strategies. Basically I'm trying to create a bookmarklet that, when clicked, pops up a header on whatever page you happen to be on. In this header, there is a small form, the contents of which are submitted to a server. Once this is...

0
голосов
1ответов
416 просмотров

Stop safari evaluating document.location before saving a bookmarklet (favelet)

I have created a very simple bookmarklet to submit the url of the site currently being viewed to a script: javascript:document.location%20=%20'http://www.example.com/script?user=___&key=___&url='+document.location I serve this as a link on an HTML page that a user can drag up into his ...

2
голосов
1ответов
157 просмотров

How can I store objects between bookmarklet calls?

I wrote some bookmarklets to automate some tasks on a webpage. I'd like to be able to store a value somehow, so that when I run a bookmarklet the second time, it will see that it exists, and try to use it. I'd like to be able to do that using pure javascript. Kind of like greasemonkey's storage.

0
голосов
2ответов
377 просмотров

Why won't my bookmarklet work?

I have a commenting tool that can be included on a page simply by adding a script tag to the . This works fine, and I've made a Greasemonky script and Firefox plugin that do just that, and putting it manually on a site works fine too. However I'm trying to make a bookmarklet: javascript:(functio...

1
голосов
1ответов
473 просмотров

How would i create a bookmarklet like the one provided with delicious

So a user would add a "add bookmart to the website" bookmark on their bookmarks and when they click it, a page would open and it would take the URL of the website that they were on when they clicked the bookmark... If it matters, i'm trying to build the website on Rails, and i'm in very beginnin...

14
голосов
8ответов
9646 просмотров

Find all instances of 'old' in a webpage and replace each with 'new', using a javascript bookmarklet

What I want to do is replace all instances of 'old' in a webpage with 'new' in a JS bookmarklet or a greasemonkey script. How can I do this? I suppose jQuery or other frameworks are okay, as there're hacks to include them in both bookmarklets as well as greasemonkey scripts.

5
голосов
1ответов
15970 просмотров

Find and replace in a webpage using javascript

What I want to do is replace all instances of 'foo' in a webpage with 'bar' in a JS bookmarklet/greasemonkey script. How can I do this? I suppose jQuery works, as there're hacks to include those in both bookmarklets and greasemonkey scripts.

0
голосов
1ответов
469 просмотров

convert jquery greybox into favelet

Hi anyone can help me with converting this into a bookmarklet to load an external site in a iframe inside an overlay like how it is done on http://jquery.com/demo/grey/ thnx

1
голосов
3ответов
12175 просмотров

js: Load html of a page from a different domain

I was wondering how can I load HTML, which is hosted on a different domain? I am using JavaScript, and want to create a bookmarklet that will enable me to parse the external HTML. I have been googling for hours in vain...

1
голосов
3ответов
1188 просмотров

Bookmarklet: Load external site html

how can i load the html from an external site? (cross domain)

1
голосов
4ответов
3771 просмотров

Закладка javascript Firefox открывает вкладку в фоновом режиме

Я написал букмарклет, чтобы найти слово в китайском словаре: javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('%E8%AF%8D%E8%AF%AD',''))};if(Qr)(function(){window.open('http://nciku.com/search/all/'+Qr);})(); Откроется новая вкладка с результатами поиска по выбранному слову или...

1
голосов
2ответов
1594 просмотров

Как заставить эту кнопку «Поделиться» получать текущий HTML-заголовок URL в дополнение к URL?

Я новичок в javascript, пытаюсь создать простую кнопку общего доступа в качестве учебного проекта. Я немного озадачен одним аспектом. Хотя я могу получить URL-адрес текущей страницы и передать его в URL-адрес, который предварительно заполняет форму общего доступа, я не уверен, как получить загол...

0
голосов
2ответов
101 просмотров

букмарклет, который определяет, является ли текущая страница результатом запроса GET или запроса POST

Я пытаюсь создать букмарклет, который будет использоваться только в Firefox 3. Я хочу, чтобы он выполнял одно действие, если страница, на которой он используется, была результатом запроса GET, и другое, если оно было создано после отправка запроса POST. В частности, я пытаюсь определить, могу ли...

2
голосов
1ответов
745 просмотров

Могу ли я загрузить страницу, щелкнуть букмарклет и заполнить загруженную на странице форму с помощью selenium-rc?

Могу ли я автоматизировать следующие шаги? в Selenium-rc открыть страницу щелкните букмарклет на панели инструментов браузера. заполнить данные в форме, загруженной на страницу указанным букмарклетом. Если букмарклет недоступен, поскольку он является частью панели инструментов браузе...

3
голосов
4ответов
8774 просмотров

Запрос пароля в javascript (например, *******)

Я пишу букмарклет, и мне нужно иметь возможность запрашивать у пользователя «пароль». Однако я не хочу, чтобы на экране отображался открытый текст, поэтому я не могу использовать подсказку. Есть ли замаскированная альтернатива prompt ()? Есть другие предложения?

1
голосов
4ответов
1992 просмотров

Как заставить javascript загружать другой файл HTML?

Я пытаюсь создать букмарклет, чтобы при нажатии на него он загружал example.com/yourdata.php в поле div. Как я могу заставить его получать данные с example.com? IFRAME? или есть лучшее решение?