Recent posts by WCityMike

Subscribe to Recent posts by WCityMike 13 posts found

Jul 22, 2008
WCityMike 13 posts

Topic: Ideas and script requests / [request] Add Buttons (Pref. in "Satellite" and "Map" and "Terrain" Style) to Use Google Maps' New Transit and Walking Modes (By Appending To Permalink URL)

Google Maps just rolled out a Walking mode today (in beta). It's presented to you by appending "&dirflg=w" to the map's permalink.

Transit can be added by appending "&dirflg=r" to the map's permalink.

I wrote a bookmarklet to append them, but then forgot that you have to manually copy and paste the 'link from this page' permalink, and it all gets very annoying and multistep.

Anyone want to simplify it?

 
Jul 2, 2008
WCityMike 13 posts

Topic: Script development / Button to Block/Unblock Certain Images: This has got to exist already ...

There don't appear to be. There are things that offer image-on/image-off toggles, but none act selectively on images from certain URLs; it appears to either be all images on or all images off. And, yes, ad-blocking software can do that, but it doesn't act as a toggle.

 
Jul 2, 2008
WCityMike 13 posts

Topic: Script development / Button to Block/Unblock Certain Images: This has got to exist already ...

Basically, I'm looking for a script that can hover on the page as a button. When clicked, it blocks images from two particular subdirectories. When clicked, it unblocks them.

Purpose I'd be applying it to is actually Match.Com. I'd like to browse Match with the thumbnails and profile pictures blocked. I'm stuffing them into AdBlock at the moment, but I'd like turning them on to be a little easier than manual addition and removal.

I'm not putting this in the "ideas and script development" area because this is such an utterly basic concept that I know it's already got to have been written a few million times over.

Can anyone point me in the appropriate direction?

 
Dec 14, 2007
WCityMike 13 posts

Topic: Ideas and script requests / REQ: LiveJournal Adult Content Notice Bypasser

Thanks! That did it. I posted it here:

http://userscripts.org/scripts/show/16412

 
Dec 13, 2007
WCityMike 13 posts

Topic: Ideas and script requests / REQ: LiveJournal Adult Content Notice Bypasser

If you are not logged into LiveJournal and attempt to access a page that has an adult content flag, you're given an interim screen that asks you to click through to confirm your age.

If you happen to have opened a lot of links in that community, you're presented with 10-20 click-throughs; profoundly annoying.

For example, were I not logged in and attempt to go here:

http://community.livejournal.com/scans_daily/45...

I am redirected to:

http://www.livejournal.com/misc/adult_concepts....

Can any developer figure out how to get it to go directly to the page in question? I'm not sure what it tests for between requesting the original page and it redirecting me to the adult confirmation page, so I'm not sure how that could be reversed, precisely.

Also, I'm afraid that while I'm a fairly good splicer or modifier, I'm not the best at wholesale creation of things ... so to be clear, I'm wondering if some kind script author could write this script. :)

(BTW, it's not porn; LiveJournal's new owners are applying the "adult" tag quite liberally, it appears.)

 
Aug 28, 2007
WCityMike 13 posts

Topic: Ideas and script requests / Request: Redirect Wikipedia's ISBNs Without Wikipedia Account

For those people who don't want to sign up for a Wikipedia account, it might be nice to offer the functionality offered by this "monobook.js" script:

http://en.wikipedia.org/wiki/User:Lunchboxhero/...

The current behavior in Wikipedia is that if you click on an ISBN, it takes you to a Wikipedia "Special:Booksources" page in which you must scroll through page after page after page of various "find this book at THIS library (or bookseller)" links for places all over the world.

The above change to a monobook.js file allows the user to go directly to a source he or she wishes.

For the purposes of this script, I imagine taking the user to Amazon might be the safest "default" setting, although it might be worthwhile to document via commenting how to change the redirect to something else they desire.

 
Apr 4, 2007
WCityMike 13 posts

Topic: Script development / Adapting an Opera User Javascript (for RTM) Into a Greasemonkey Script?

Updated and now at http://userscripts.org/scripts/show/7825, with full credit to you, Michael. Thanks so very much!

 
Apr 3, 2007
WCityMike 13 posts

Topic: Script development / Adapting an Opera User Javascript (for RTM) Into a Greasemonkey Script?

That's so very, very, very, very wonderful, Michael. Sorry for the delay, but I haven't checked the forum in a few days. I can't believe how fantastic that is! I will update the script accordingly, giving full credit to you ...

 
Mar 30, 2007
WCityMike 13 posts

Topic: Script development / Adapting an Opera User Javascript (for RTM) Into a Greasemonkey Script?

Bump. Anyone able to assist me?

 
Mar 25, 2007
WCityMike 13 posts

Topic: Script development / Adapting an Opera User Javascript (for RTM) Into a Greasemonkey Script?

Damn. I was really hoping I could get this set up as a Greasemonkey script. :(

 
Mar 25, 2007
WCityMike 13 posts

Topic: Script development / Adapting an Opera User Javascript (for RTM) Into a Greasemonkey Script?

Anyone still checking this poor little thread? ;-)

 
Mar 25, 2007
WCityMike 13 posts

Topic: Script development / Adapting an Opera User Javascript (for RTM) Into a Greasemonkey Script?

My script now is quite literally just this (aside from the metadata block):

(function(st){
unsafeWindow.setTimeout = function(s,t){
if(/moveDiv\(/.test(s))
arguments[1]=1;
st.apply(this,arguments);
};
})(unsafeWindow.setTimeout);

I don't see any significant difference in what it's supposed to speed up. I must admit I'm not a heavy scripter; I'm more a splicer than a scriptwright. Any idea what I might be missing?

 
Mar 24, 2007
WCityMike 13 posts

Topic: Script development / Adapting an Opera User Javascript (for RTM) Into a Greasemonkey Script?

Occurred to me this is the more suitable forum, so I figured I'd post this here instead.

In an Opera forum, a user posted this Javascript to override Remember the Milk's built-in sidebar animation code:

(function(st){
window.setTimeout = function(s,t){
if(/moveDiv\(/.test(s))
arguments[1]=1;
st.apply(this,arguments);
};
})(window.setTimeout);

http://my.opera.com/community/forums/topic.dml?...

I tried to adapt this into a Greasemonkey script, but see no difference on the page in question. Any idea on how one might go about doing this?

Thanks in advance!