Отображение вопросов с тегом: Показать все вопросы
  • Решено

Turning off, swipe down to refresh gesture, via a script

I'm using Fennec Firefox on mobile and I'm having this problem where my the page refreshes on the slightest touch. I'd like to turn this gesture off all together. I have … (читать ещё)

I'm using Fennec Firefox on mobile and I'm having this problem where my the page refreshes on the slightest touch. I'd like to turn this gesture off all together. I have done some research and found this code: document.addEventListener('touchstart', function(event) {

   // Check for a swipe down gesture to prevent refresh action
   if (event.touches.length > 0) {
       // Prevent default action
       event.preventDefault();
   }

}, { passive: false });

document.addEventListener('touchmove', function(event) {

   // Prevent default action to avoid refresh
   event.preventDefault();

}, { passive: false }); I put it into a java script extension and it worked, but then I wasn't able to scroll up or down. I don't know anything about java or python, so if someone could give me a hint or point me in the right direction that would be helpful. I am also looking through the source code of Firefox looking for answers.

Задан niahmt20 1 неделю назад

Дан ответ Paul 1 неделю назад

  • Решено
  • Архивировано

Unable to load uBlock Origin add-on

I have been using uBlock Origin for years to block ads in youtube. Recently I started getting ads again and when I checked I found uBlock was disable snd couldn't be enab… (читать ещё)

I have been using uBlock Origin for years to block ads in youtube. Recently I started getting ads again and when I checked I found uBlock was disable snd couldn't be enabled. I dl the latest version but it gives me an error message when I try to load it. Please help.

Задан kkkevsta 7 месяцев назад

Дан ответ TyDraniu 7 месяцев назад

  • Решено
  • Архивировано

PWAs don't have add-ons installed

I have some add-ons installed on Firefox,like Adguard and another one for Twitter improvement, but when I use Twitter(X) pwa for example, the extras that the addons provi… (читать ещё)

I have some add-ons installed on Firefox,like Adguard and another one for Twitter improvement, but when I use Twitter(X) pwa for example, the extras that the addons provide don't seem to work! Please if possible make the addons work with PWAs!

Задан Theodore 10 месяцев назад

Дан ответ Theodore 10 месяцев назад