Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 21, 2012, 04:32 PM   #1
mpt-matthew
macrumors regular
 
Join Date: Aug 2010
Can someone please make me a bookmarklet (simple) PLEASE :-)?

Ok, I can't write java, and i would like a bookmarklet to do a simple task.

I want it to amend the URL of the current page and refresh it.
Basically, it's to add my University E-Proxy to a URL, so i can quickly access a journal.

E.g.

Original URL is: http://www.nature.com/nature/journal/vaop/ncurrent/full/nature11729.html

Changes to: http://www.nature.com.ezproxy4.lib.le.ac.uk/nature/journal/vaop/ncurrent/full/nature11729.html

Notice, ".ezproxy4.lib.le.ac.uk" is added after the root website.
It should then forward to a login page.
I would like a bookmarklet to add this automatically for me please.

This would be really helpful thanks!
__________________
2010 15" Macbook Pro - i7, 8GB RAM, 500GB HDD.
iPhone 3GS, iPad, 2TB Time Capsule.
mpt-matthew is offline   0 Reply With Quote
Old Dec 23, 2012, 05:17 PM   #2
mpt-matthew
Thread Starter
macrumors regular
 
Join Date: Aug 2010
Ok, so I didn't want to learn java as it would take me way too much time for something that is meant to be saving me time.
I would love to learn it, but I just don't have the time right now.

But. I managed to do what i want with this code.
It basically involved finding the URL for the prefix instead of the insert, then using the following javascript to insert the prefix.


Code:
javascript:void(location.href=%22http://ezproxy4.lib.le.ac.uk/login?url=%22+location.href);
__________________
2010 15" Macbook Pro - i7, 8GB RAM, 500GB HDD.
iPhone 3GS, iPad, 2TB Time Capsule.

Last edited by balamw; Dec 24, 2012 at 05:26 PM.
mpt-matthew is offline   0 Reply With Quote
Old Dec 24, 2012, 05:10 PM   #3
larswik
macrumors 65816
 
Join Date: Sep 2006
Sounds to me your best bet is to hire someone to help you out. It is unlikely you will ever find someone to do this for free for you. People take time out to learn this stuff and pay to go to school or invest many hour reading and training. For them to spend many hours making something for you because you need it won't work.

I have seen a number of sites that you can join and ask for what you need and get bids back on how much it would cost to do it for you. So basically you have 2 options... Learn to program and make what you need to pay someone to make it for you.

Oddly enough these questions come up here from time to time. "I need this software, please make it for me. Thanks in advance!". But I will say, since I sat down a couple years ago and started learning programming, it is very addictive and I enjoy it a lot. You might too if you start.

Good luck!
__________________
I know more than yesterday.
Lars
larswik is offline   0 Reply With Quote
Old Dec 24, 2012, 05:19 PM   #4
mpt-matthew
Thread Starter
macrumors regular
 
Join Date: Aug 2010
Quote:
Originally Posted by larswik View Post
Sounds to me your best bet is to hire someone to help you out. It is unlikely you will ever find someone to do this for free for you. People take time out to learn this stuff and pay to go to school or invest many hour reading and training. For them to spend many hours making something for you because you need it won't work.

I have seen a number of sites that you can join and ask for what you need and get bids back on how much it would cost to do it for you. So basically you have 2 options... Learn to program and make what you need to pay someone to make it for you.

Oddly enough these questions come up here from time to time. "I need this software, please make it for me. Thanks in advance!". But I will say, since I sat down a couple years ago and started learning programming, it is very addictive and I enjoy it a lot. You might too if you start.

Good luck!

Yeh, I gather this now.
When i posted the question i thought it was a really simple task for someone who knows javascript. Just like if someone asked me "can you make this text flash in HTML".

Often people do do stuff like this for free though so it was worth a try.

I have it sorted now though.
__________________
2010 15" Macbook Pro - i7, 8GB RAM, 500GB HDD.
iPhone 3GS, iPad, 2TB Time Capsule.
mpt-matthew is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Can someone please make me a bookmarklet (simple) PLEASE :-)? mpt-matthew Mac Applications and Mac App Store 0 Dec 21, 2012 04:29 PM
URL Shortener Bookmarklet? rstark18 iOS 5 and earlier 0 Aug 29, 2012 02:48 PM
How to make simple widgets mblank83 Jailbreaks and iOS Hacks 1 Jul 12, 2012 08:57 PM
Help make a simple script carterx Mac Programming 6 Jul 11, 2012 01:54 PM
Brand new to dev, trying to make a simple app from PDF kmj2318 iPhone/iPad Programming 6 Jul 3, 2012 01:56 AM

Forum Jump

All times are GMT -5. The time now is 01:11 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC