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

    Modififcations to pages on load as with the old Opera

    Opera for Windows
    1
    1
    291
    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.
    • kludikovsky
      kludikovsky last edited by

      How can I make modifications to pages on load automatically as this was possible with the old opera.
      With the 12.x Opera it was possible to perform changes to pages on load by local javascript files.

      Is this still possible and how? (yes I know something can be done by extensions, but not everything as it seems)

      I would like to set some input values on page load for a query. The underlying HTML is basically this with some js to activate/execute:

      <html>
        <head>
         ....
        </head>
        <body>
          <div id="Control">
      	    <button id="Btn" class="...."  title=".....">
      		 <span class=".....">BtnTxt</span>
      	    </button>
      	    <select id="loopCount">
      		 <option value="1" selected="selected">AAAA</option>
      		 <option value="2">BBBB</option>
      		 <option value="3">CCCC</option>
      	    </select>
          </div>
        </body>
      </html>
      

      I would like to set option 3 as the default and exeuted the standard js.

      Thanks for any help/suggestions.

      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-