Showing questions tagged: Show all questions

Redirect via onafterprint working in Chromium but not Firefox

I am trying to serve a print view and redirect the user to the page they came from right after printing (or cancelling). This works fine in Chromium with the following bi… (read more)

I am trying to serve a print view and redirect the user to the page they came from right after printing (or cancelling). This works fine in Chromium with the following bit of JavaScript code:

  function printPageAndRedirectTo(redirectUrl) {
   window.addEventListener("afterprint", function () {
       window.location.href = redirectUrl;
   });
   window.print();

In Firefox, however, nothing happens at all. Debugging shows that the callback is called, but the href field remains unchanged.

This is mysterious to me. Any ideas what the reason might be?

Firefox version is 84.0.2, Chromium 87.0.4280.88 (both from the Arch Linux repositories).

Edit:

Here's a fiddle to illustrate. Redirect to Wikipedia works in Chromium but not in Firefox: https://jsfiddle.net/xnazLb6p/1/

Edit 2:

Another one to show that the problem here is redirecting from the event listener, not redirecting itself: https://jsfiddle.net/xnazLb6p/2/

Asked by rhondachurchill90 1 week ago

Last reply by jscher2000 1 week ago

Copy/Paste

Why can a stupid failing script on a web-page, or even intentionally so programmed script disable the copy (and sometimes paste) functionality? How can this be disabled/f… (read more)

Why can a stupid failing script on a web-page, or even intentionally so programmed script disable the copy (and sometimes paste) functionality?

How can this be disabled/fixed?

One highlights a text (any text) on some web sites, Edit menu allows Copy, context menu allows Copy, one hits Copy, nothing happens. It's not even a page where someone wanted to "copy protect" some information.

Copy and Paste should work just as advertised since those were invented, how hard can it be to get that right? Even stupid Notepad never fails at it. And no, I don't care what the idiot who programmed a page though would be/should be best for me, I want Copy to be copy, Paste to be paste. This used to work in "original" Firefoxes even when page developers wanted to make it not work.

And yes, while on a given page Copy fails miserably, at the same time in other pages it works.

Asked by Pók 1 week ago

Last reply by jscher2000 6 days ago

Everytime I restart Firefox, all my bookmarks and add-ons are gone

I want to understand how and why it happens and mostly how can I stop that to happen again. It's really frustrating that I have to keep my computer on 24/7 so I wouldn't … (read more)

I want to understand how and why it happens and mostly how can I stop that to happen again. It's really frustrating that I have to keep my computer on 24/7 so I wouldn't lose anything on here...

Asked by outsader 1 week ago

Last reply by jscher2000 1 week ago

unwanted duckduck privacy essentials

Suddenly ducksuck privacy essentials is running in my firefox install. 1) I don;t want that 2) I was never asked if I wanted that 3) FF downloaded a file without my permi… (read more)

Suddenly ducksuck privacy essentials is running in my firefox install. 1) I don;t want that 2) I was never asked if I wanted that 3) FF downloaded a file without my permission 4) how do I FORBID firefox to download extensions, add-ins, themes or what ever by itself?

Asked by novw 1 week ago

Last reply by jscher2000 5 days ago

Firefox malfunction

Hello, I am having difficulty opening certain features on certain sites (Openrunner for example) I have been advised to refresh and upgrade Firefox, but it doesn't work. … (read more)

Hello, I am having difficulty opening certain features on certain sites (Openrunner for example) I have been advised to refresh and upgrade Firefox, but it doesn't work. What should I do ? Thank you in advance, Thierry gross

Mail : [email]@yahoo.com

Asked by thierrygross 1 week ago

Last reply by FredMcD 1 week ago

Firefox Password Transfer

I wanted to transfer my logins and password from one Computer to another and I managed to do so by copying the logins and Key4 files stored in the profile folder. Now, I … (read more)

I wanted to transfer my logins and password from one Computer to another and I managed to do so by copying the logins and Key4 files stored in the profile folder. Now, I am concerned about how easy this process was. Does it mean if my computer is hacked and those 2 files stolen, anyone will be able to access all the websites where I am registered?

Thank you

ANdrea

Asked by andrea_pini 1 week ago

Last reply by jscher2000 1 week ago

Nvidia drivers download page - impossible to select items on "product series".

As mentioned in the subject, if you go to "https://www.nvidia.com/Download/index.aspx" and try to select "Product Series" it keeps resetting to default value. Google chro… (read more)

As mentioned in the subject, if you go to "https://www.nvidia.com/Download/index.aspx" and try to select "Product Series" it keeps resetting to default value.

Google chrome - no problem here.

I am on Mint 20.1 Cinnamon, kernel 5.8.0.36.40, Firefox 84.0.2 (64-bit).

Asked by teehlerr 1 week ago

Last reply by emmaoliviaa20 6 days ago

Bookmark Colours

I have tried loads of options, ie making a userChrome.css folder, but nothing works. I have a new laptop with Firefox 84.0.2 installed, but every bookmark is grey. So di… (read more)

I have tried loads of options, ie making a userChrome.css folder, but nothing works.

I have a new laptop with Firefox 84.0.2 installed, but every bookmark is grey. So difficult to look at. Would prefer the old yellow colour.

Asked by jeanlyon 1 week ago

Last reply by jscher2000 1 week ago

Saving browser log in information

Each time I close the browser, firefox deletes all log in data. When booting the browser, I need to log in wiht username and password for all software. How can I stop tha… (read more)

Each time I close the browser, firefox deletes all log in data. When booting the browser, I need to log in wiht username and password for all software. How can I stop that from happening and continue using firefox always reusing previous log in data?

Asked by rainerconnectyou 1 week ago

Last reply by cor-el 1 week ago

a content security policy

For more than 10 years I have commented on many blogs, some nearly every week, however for the last several months every attempt to comment has produced the message "Bl… (read more)

For more than 10 years I have commented on many blogs, some nearly every week, however for the last several months every attempt to comment has produced the message


"Blocked by Content Security Policy

This page has a content security policy that prevents it from being loaded in this way.

The browser prevented this page from loading in this way because the page has a content security policy that disallows it"

This happens whether I am using laptop with Windows 10 and Firefox or tablet with Firefox for Android, using a Google profile

Asked by Mrs-D 1 week ago

Last reply by FredMcD 1 week ago

cross tab bar flashing line and flashing of all open tabs

My wife called me in this afternoon when big red error message popped up "saying" it is a red alert and the web page used Apple's logo on it, said the old 2011 iMac, OS … (read more)

My wife called me in this afternoon when big red error message popped up "saying" it is a red alert and the web page used Apple's logo on it, said the old 2011 iMac, OS 10.10.5 Yosemite, is "blocked" and has a virus. It had an 877 phone number to call but we failed to write it down. She did nothing after that. When I saw that I pressed the red window page kill button, upper left. Got the rotating rainbow ball. . . computer working overtime. Next, Command-W to kill the webpage, nada. Finally, pressed the hardware ON/OFF button behind left side of screen. On SAFE restart I opened my account not hers and found Firefox had thin, white, flashing lines across the tab bar area(full width) and tabs were flashing individually. Every time you open a tab, this happens or possibly when it is accessing. So, I upgraded Firefox, leaving the OLD version intact. Upgrade I NOW notice is the 64 bit version.

Is there a fix out there? or, is this thing "infected" with the CCP virus or something? Fix for it?

I will shut down and re-open the old version and see if it still happens and post an update here.

Asked by schreib 1 week ago

Last reply by FredMcD 1 week ago

Grammarly

Why is my Grammarly not working on Mac? I noticed it wasnt working on the Canvas website and then I uninstalled and reinstalled the grammarly extension and it is still n… (read more)

Why is my Grammarly not working on Mac? I noticed it wasnt working on the Canvas website and then I uninstalled and reinstalled the grammarly extension and it is still not working. When I click on the toolbar on the green g I get a blank white box. Help!

{
  "application": {
    "name": "Firefox",
    "osVersion": "Darwin 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec  2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64",
    "version": "84.0.1",
    "buildID": "20201221152838",
    "distributionID": "",
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0",
    "safeMode": false,
    "updateChannel": "release",
    "supportURL": "https://support.mozilla.org/1/firefox/84.0.1/Darwin/en-US/",
    "rosetta": false,
    "numTotalWindows": 1,
    "numFissionWindows": 0,
    "numRemoteWindows": 1,
    "fissionAutoStart": false,
    "fissionDecisionStatus": "disabledByDefault",
    "remoteAutoStart": true,
    "policiesStatus": 0,
    "keyLocationServiceGoogleFound": true,
    "keySafebrowsingGoogleFound": true,
    "keyMozillaFound": true
  },

If you need more data info let me know.

      "name": "Grammarly for Firefox",
      "type": "extension",
      "version": "8.868.0",
      "isActive": true,
      "id": "87677a2c52b84ad3a151a4a72f5bd3c4@jetpack"
    },

Asked by brandi.m.malone 1 week ago

Last reply by FredMcD 1 week ago

blocking senders of unwanted emails

in my emails is a function called 'mark as'. The drop down menu includes 'block sender' and 'spam'. Block sender only works a small portion of the time. I get a message '… (read more)

in my emails is a function called 'mark as'. The drop down menu includes 'block sender' and 'spam'. Block sender only works a small portion of the time. I get a message 'error--can't block sender' Why can't I block a sender I do not want to receive emails from?

Asked by alantodd 1 week ago

Last reply by jonzn4SUSE 1 week ago

only prints first page

Even when I tell the printer to print a range of pages, it will only print the first page. I spoke with HP Support already and they said the problem is with Firefox, not… (read more)

Even when I tell the printer to print a range of pages, it will only print the first page. I spoke with HP Support already and they said the problem is with Firefox, not the printer. The drivers are updated.

Asked by peainem123 1 week ago

Last reply by Mamoon 6 days ago

Is there a way to change the name/words on a tab, or its color?

As a webgroup site manager I usually have a single window open dedicated to multiple pages within the site. I can have as many as a half-dozen tabs ALL with the same name… (read more)

As a webgroup site manager I usually have a single window open dedicated to multiple pages within the site. I can have as many as a half-dozen tabs ALL with the same name - (then the page-in-use). But all I can see/read is the first part. Is there a way to 'customize' the contents/name/words showing on a tab? Or a way to change the color of the tabs to help differentiate which one is which? I'd like to be able to change "main@beta.groups.io | Messages" to just "Messages" because "main@beta.groups.io | Pending Messages" looks exactly the same until out-of-sight in the tab. Or, I'd be happy enough to make "Messages" green and "Pending Messages" to orange.

Asked by antiquetuck 1 week ago

Last reply by cor-el 6 days ago