Change Webpage with Chrome or Internet Explorer

I have a site I frequently visit that uses a select menu with a default value of "5". Using the developer console in Chrome, I know I can manually change some of the HTML locally.

Is there any way, in either IE or Chrome (even with a Chrome extension), to programmatically change that drop down menu automatically every time I visit the page?

Similar Chrome extension seem to do this such as Social Fixer for Chrome - it automatically changes the source code on Facebook to fix certain things on the site.

I don't have access to the web server source code, so this is really my only option.
LVL 20
DVation191Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KimputerCommented:
I would suggest autohotkey, but this only works if the webpage in question has a unique enough title. If it's just "index", the autohotkey script would fire too many times on websites it's not supposed to.
0
DVation191Author Commented:
I think I can make it work based on title.

Can you provide a sample script on how I would accomplish this?
0
KimputerCommented:
Put this all the way at the top of your current autohotkey script.
Adjust the word Inbox to some part of the website's title you mentioned before. It's CASE SENSITIVE! This current script would activate if you opened gmail (since by default it opens your inbox, giving your Chrome window the title "Inbox (x) - xxx@gmail etc), it would then immediately click on Compose, as that's the upper left corner, and then 100px to the right, and 300px down. In your case, you probably have to add one or two more Click commands.


#Persistent
SetTimer, Chrome, 250
return

Chrome:
SetTitleMatchMode, 1
CoordMode Mouse, Relative
IfWinExist ahk_class Chrome_WidgetWin_1, Inbox
{      WinActivate
      Click 100, 300
}
return
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Google Chrome OS

From novice to tech pro — start learning today.