Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8789761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:30:10+00:00 2026-06-13T22:30:10+00:00

I am new to javascript and kinda noobish… my first code will be an

  • 0

I am new to javascript and kinda noobish… my first code will be an url-manipulator…

I want to do the following: I want a url like

http://www.example.com/index.php?show=vods&play=1234

to be manipulated so a "&res=480p" will be added everytime I browse a site with "?show=vods&play=XXXX" where X is between 0 and 9 …

Example: 
http://www.example.com/index.php?show=vods&play=1234 [original url]
-->
http://www.example.com/index.php?show=vods&play=1234&res=480p [manipulated url]

I know, I am at beginner-level, so please can someone gimme a hint, solve my problem or can give me something to read so I can solve it on my own?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:30:11+00:00Added an answer on June 13, 2026 at 10:30 pm

    You can change url in javascript using window.location.href

    something like this:
    window.location.href = window.location.href + ‘&res=480p’

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm kinda new to javascript running on Apache but I have the following problem.
I`m new to JavaScript and I need some help extracting the ID from URL
I'm a bit new to javascript, I'd like my function to take in parameters
I am relatively new to javascript. I am trying to code my web version
I'm pretty new to Javascript, NodeJS and --obviously-- TypeScript. I'd like to experiment with
im kinda new to javascript i mean i know the syntax but not so
When coding new javascript heavy websites, which order or web browser do you code
http://jsfiddle.net/3BqtV/ Javascript: $(document).ready(function(){ $(#first).click(function(){ $(#secondHolder p).addClass('red'); }); $(.red).click(function(){ $(this).css(color,red); }); }) HTML: <p id=
I'm new to javascript namespaces, and I found myself kinda deep within a namespace,
I'm kinda new on javascript, and I've having difficulties (for 2 days now) in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.