Navigation

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    How to modify content of a webpage while not letting the page use javascript?

    Opera for Windows
    3
    6
    372
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • petrdormic
      petrdormic last edited by

      Hello,

      I want to modify the content of a webpage which is sent to me from a server. It wouldn't itself be a problem (I even made an userscript which perfectly does it's job), unless I wanted to have JavaScript disabled on this page...

      And so my question comes... Is there a way how to modify the source code of exact webpage within Opera while not allowing the page to do anything with it's own javascript?

      Thanks

      Ps.

      I don't mind writing extensions (I didn't only write one, because it AFAIK wouldn't work. But of course I would be happy to hear I was wrong.), messing with lowlevel setup, or doing any such terribly sounding stuff, if there would be a good chance that it will get the job done.

      Reply Quote 0
        1 Reply Last reply
      • christoph142
        christoph142 last edited by

        Define "modify".
        If you simply wanna hide some stuff, then yes, it can possibly be done with CSS.
        All other cases: No way. That's what JS is for.

        Reply Quote 0
          1 Reply Last reply
        • petrdormic
          petrdormic last edited by

          I want to alter some parts of HTML code. That is definetely not something what can be done with CSS.

          So there is no way how to run my own scripts in the context of webpage without letting the page itself use javascript?

          Reply Quote 0
            1 Reply Last reply
          • christoph142
            christoph142 last edited by

            no JS = no JS -> no

            Reply Quote 0
              1 Reply Last reply
            • petrdormic
              petrdormic last edited by

              I was thinking more like "No JS for a webpage -> No JS for a webpage", but OK. 😃

              Ok, so I would have to remove all the page's scripts on my own or write HTML modyfying proxy. Damn it.

              Reply Quote 0
                1 Reply Last reply
              • A Former User
                A Former User last edited by

                HTML modifying proxy -> you can use Privoxy. Works great, except that it won't work over HTTPS (obviously) 😞

                Reply Quote 0
                  1 Reply Last reply
                • First post
                  Last post

                Computer browsers

                • Opera for Windows
                • Opera for Mac
                • Opera for Linux
                • Opera beta version
                • Opera USB

                Mobile browsers

                • Opera for Android
                • Opera Mini
                • Opera Touch
                • Opera for basic phones

                • Add-ons
                • Opera account
                • Wallpapers
                • Opera Ads

                • Help & support
                • Opera blogs
                • Opera forums
                • Dev.Opera

                • Security
                • Privacy
                • Cookies Policy
                • EULA
                • Terms of Service

                • About Opera
                • Press info
                • Jobs
                • Investors
                • Become a partner
                • Contact us

                Follow Opera

                • Opera - Facebook
                • Opera - Twitter
                • Opera - YouTube
                • Opera - LinkedIn
                • Opera - Instagram

                © Opera Software 1995-