KoC-WideMap

By doyousketch2 Last update Aug 26, 2010 — Installed 127,237 times.

Redirect

in
Subscribe to Redirect 7 posts, 4 voices



TopazGB User
FirefoxWindows

KoC just set a redirect to stop this script working but the new version of widemap works fine. Nice quick work there thanks.

 
doyousketch2 Script's Author
X11

Yeah, it had to do with the iFrame.

So long as it's kept within facebook, it works ok.

That also means it won't have to reload,
so the horse page won't come up as often.

 
darkrupt User
FirefoxWindows

this is really cool, Is there a way to make it wider from top to bottom aswell?

 
doyousketch2 Script's Author
X11

You can, but I think there's some kind of limit
to how many map tiles are sent out at a time,
so you can add a few rows, but you get a lot of blank area as well,
so don't expect too much from it.

I started detailing how to do it,
then realized their update interferes with the way you would do it,
so let me look through all the lines of code and double check it
before I post a solution.

I'm planning a fishing trip so it might be a day
before I can sit down and look it over.

 
erthwjim User
FirefoxWindows

Do you think whatever you did to your script to make it work again could be applied to POC helper. I know POC is not yours, but I'm wondering if you think the same method would work?

 
doyousketch2 Script's Author
X11

Possibly, but I don't know if he uses jQuery in POC-helper.
It can be added in easily enough.

He'd have to replace the iFrame code with these lines:

// @require http://ajax.googleapis.com/ajax/libs/jquery/1.3...

//Make iFrame wider
$('#content div').width($(window).width());
$('#content div div').width($(window).width());
$('#app_content_130402594779 div div div iframe').width($(window).width());

.

I don't think he could test it 'till it's uploaded and installed,
because Greasemonkey doesn't initialize the library unless installed.

 
erthwjim User
FirefoxWindows

I ended up just removing the facebook removal portion on POC Helper and have both yours and his running at the same time and it works.