Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Boomarklets won't open when used in conjunction with open all tabs.

more options

Previously my bookmarklets always worked (until 2 weeks ago). Now my bookmarklets work only when I click on them one at a time. If I try to open 12 web pages at once using "open all tabs" and 9 of them are bookmarklets, the bookmarklets do not open. The tabs (belonging to the bookmarklets) don't even allow me to RELOAD, they're sort of greyed out.

Tried starting in "safe mode" and that did no good. I have tried re-installing Firefox but that did no good. I also tried switching something around in about:config but that also did no good.

Anyone with an idea?

Using Windows 7 64 bit and the latest Firefox version.

Previously my bookmarklets always worked (until 2 weeks ago). Now my bookmarklets work only when I click on them one at a time. If I try to open 12 web pages at once using "open all tabs" and 9 of them are bookmarklets, the bookmarklets do not open. The tabs (belonging to the bookmarklets) don't even allow me to RELOAD, they're sort of greyed out. Tried starting in "safe mode" and that did no good. I have tried re-installing Firefox but that did no good. I also tried switching something around in about:config but that also did no good. Anyone with an idea? Using Windows 7 64 bit and the latest Firefox version.

Все ответы (3)

more options

Bookmarklet, meaning they use the javascript: protocol for their Location?

Previously you were able to load multiple bookmarklets at once, and pages opened? I'm surprised. What do those scripts do?

more options

Thank you for taking an interest in my problem jscher2000.

These bookmarklets simply open up pages with today's date written into the location so I can get past navigating to today's date on these pages. It was so handy when it worked and I am very dismayed by its sudden inexplicable failure to work any longer.

In the process of doing further research into the matter I have uncovered the fact that there are others out there having the same kind of problem.

Here below I have pasted some of the information and some of the websites, to hopefully aid someone with greater understanding into developing a solution. (everything below was written by other souls)

===============================

A javascript:() URL - such as javascript:alert("Test"); - works fine in a bookmark (i.e. bookmarklet), whether I click it from an empty tab or a populated tab. I am using Firefox 3.5.8 on Ubuntu Linux. javascript:() URLs don't run with Open All in Tabs

However if I put my javascript:() bookmarklet in a bookmark folder and try "Open All in Tabs", I see the following behavior:

The bookmarklet will run ONLY if it is the FIRST bookmark in the folder, and then ONLY if it is opening in a populated tab. If I am looking at an empty tab and do "Open All in Tabs", the javascript:() URL will fail to run. Similarly any subsequent bookmarklets fail to run. So it is impossible for me to execute multiple bookmarklets with "Open All in Tabs".

It would appear that until a tab is populated, it is missing the proper context to run JavaScript, but this is ONLY the case when running via "Open All in Tabs". Can someone please illuminate me on how to approach this problem? If needed I can post my bookmarks.html as an example.

====================================

https://stackoverflow.com/questions/7241215/load-firefox-bookmarklet-as-normal-url


I've just created a simple bookmarklet to load a URL containing a generated string. Is it possible to make this bookmarklet work like a normal bookmark:

   When left-clicking opens in the current tab.
   When middle-clicking opens in a new tab.
   After putting in a folder, when selecting Open All in Tabs opens in a new tab.

The first works, but the second does the same as the first, and the third results in just javascript:... in the location bar.

https://bugzilla.mozilla.org/show_bug.cgi?id=138198

=================================================================

https://support.mozilla.org/en-US/questions/1009266

javascript bookmarklet doesn't work in blank new tab

================

https://stackoverflow.com/questions/8454510/open-url-in-same-window-and-in-same-tab

========================

[end of web searched relevant data]

Okay, that's all I could find and the last link may stray a bit from the target but I suspect it may be useful to those with greater java knowledge and its intricacies.

Hopefully someone can think up a solution.

more options

Most of those references are very old now, but it sounds as though you only started seeing this problem after updating from Firefox 63 to Firefox 64.

Absent other leads, you would need to run a MozRegression test. This is a tool to download intermediate builds of Firefox from a development server so you can try each one can indicate whether Yes, the problem exists in that version or No, it does not. Since you need to have a folder of bookmarklets in order to test, it would be a little time-consuming or tricky to set up. Also, you need a very fast connection or you'll go crazy waiting.

Anyway, to learn more about this option, see: https://mozilla.github.io/mozregression/