Content deleted by creator due to lemmy.ml tolerating brigades from hexbear

    • fiat_lux
      link
      fedilink
      22 years ago

      Yeah that one will only let you look, you need the Inspector tools secret magic to make viewable changes on the fly.

        • fiat_lux
          link
          fedilink
          2
          edit-2
          2 years ago

          Huh, thankyou for introducing me to Eruda, this is a nice looking tool. I wouldn’t install it as a plugin just for this, but luckily you don’t need to. Do not use this tool on any page where you’re entering information or viewing private info though, these are dangerous powertools and allowing plugins to do arbitrary JS evaluation is like not using a safety guard.

          This should work though:

          1. Make a new bookmark on mobile Firefox
          2. Paste as the location: javascript:(function () { var script = document.createElement('script'); script.src="https://cdn.jsdelivr.net/npm/eruda"; document.body.append(script); script.onload = function () { eruda.init(); } })();

          This loads Eruda scoped to that tab only from their CDN, which hopefully limits possible damage it can do.

          Here is what you need Eruda to do: const naughtyMetaTag = document.head.querySelectorAll('meta[name="viewport"]'); !!naughtyMetaTag ?? naughtyMetaTag[0].setAttribute('content', '');

          It will fail silently if it doesn’t find the tag with the name viewport, otherwise it will empty the contents of it and you’ll be able to zoom.

          The much safer alternative is to use Android’s built in accessibility zoom functionality for this specific task though, to be honest.

          Edit: on second thought, we can avoid Eruda altogether for this task. I haven’t tested this at all but try bookmarking this instead javascript:(function () { const naughtyMetaTag = document.head.querySelectorAll('meta[name="viewport"]'); !!naughtyMetaTag ?? naughtyMetaTag[0].setAttribute('content', ''); })(); and visiting it when on a bad page. Much safer and worth trying first.

            • fiat_lux
              link
              fedilink
              22 years ago

              Not that one, deceivingly. it’s called ‘Magnification’ and there are some options for mapping the activation of it. It works as a whole OS visual zoom overlay, but is still sometimes handy for terrible websites.

              • LinkOpensChest.wavOP
                link
                fedilink
                12 years ago

                Oh, I see it now! That’s pretty neat. It seems kinda finicky, and it will take some getting used to, but this will help out in a … pinch