Bungie.net Community
This topic has moved here: Subject: Script Central> Live Post Preview; uStalk Chrome App
  • Subject: Script Central> Live Post Preview; uStalk Chrome App
Subject: Script Central> Live Post Preview; uStalk Chrome App

Posted by: Tidus Zero
It doesn't seem to work even as an extension.

Uncaught ReferenceError: unsafeWindow is not defined

Unless you meant without the unsafeWindow line, but it doesn't work then either.
Chrome doesn't let you access the Javascript on the page. The unsafeWindow hack only works in Firefox (and Opera, I think).

Another possible solution to using jQuery is to fire off a HTTP request to get bungie.net's copy of jQuery (here), but force Chrome to load it from its cache. Not sure if you can do that or not, but it sounds good in theory.

  • 01.17.2011 5:52 AM PDT

Five years older and wiser
The fires are burning, I'm fire, never tire
Slay warriors in the forests, and on hire

Posted by: Tidus Zero
Chrome doesn't support unsafeWindow. You have to make a Chrome extension which is hawt and then it works.

Read this.[/quote]It doesn't seem to work even as an extension.

Uncaught ReferenceError: unsafeWindow is not defined

Unless you meant without the unsafeWindow line, but it doesn't work then either.

Sorry if I wasn't clear but Chrome has no support for unsafeWindow like daza said. You have to make a separate script for Chrome and FF. The Chrome script being an Extension.

  • 01.17.2011 6:25 AM PDT

Only Becausae I'm Awesome

Forum Tutorials --- WATCH THEM AND LEARN

I guess this is more for me, but if anyone ever wants to use a good browser (<_<) then they can too.

I've made (updated) a fix that lets opera use coup 4 without being broken much.

Basically, extract this to somewhere non-volatile and point bungie.net site preferences script tab thing to the folder.

It'll be rather slow since it has to ping data all over the place but it works (most of the time).

The actual coup 4 script isn't modified at all so it should be easily upgradeable. It's mostly just all the other files which simulate the include lines in the script, as well as a few others to fill it for gm functions which opera doesn't support natively.

  • 01.17.2011 2:22 PM PDT

Userscripts: {
  Shi Options: [Chrome, Firefox],
  Coup-5: [Chrome, Firefox, Opera]
}

Alright, I made it an extension and worked a bit on it again.
Shi_options.crx

I can't say I've tested the script in Firefox before now really, and it didn't seem to work. I've tried addingvar $ = unsafeWindow.$telerik.$;to the script, but that doesn't help. I also tried with // @include http://.../jquery-1.4.4.min.js and the old way where I just pasted the whole library into my script.
Shi_options.user.js

Am I just unlucky or does it really not work?

  • 01.18.2011 2:28 AM PDT

Posted by: Tidus Zero
Shi_options.user.js
This script works with Firefox without any errors being thrown.

I like the page-loading thing too. Maybe you could change it to run like how some other sites do it - load the next page once you scroll to the bottom, then append the comments onto the end.

Also, with your regexs, instead of using arrays that are n elements long, you can specify that a grouping doesn't capture what it matches. Example (modified your youtube regex).

  • 01.18.2011 4:59 AM PDT

HALO 2 FOREVER - M.I.A.

Yes i have a Twitter and yes i voice my opinion.

Anyone have a working version of ustalker and posting tools?

The ones i find from the OP and other posts on the first 10 pages dont work.

  • 01.18.2011 5:07 AM PDT
  • gamertag: [none]
  • user homepage:

Talk to the Soul | ~B.B. | Know Your Duardo |  | Hero | ISFJ | 77135 | 94371

"It's not who I am underneath, but what I do that defines me."

Posted by: HANTER 03
Anyone have a working version of ustalker and posting tools?

The ones i find from the OP and other posts on the first 10 pages dont work.
uStalkers should be in the Moderator Finder thread located in the right in the main forum.


Posting Tools should be working in the OP...

  • 01.18.2011 7:36 AM PDT
  •  | 
  • Fabled Mythic Member
  • gamertag: [none]
  • user homepage:

Someone make a script that auto hides all orange text.

  • 01.18.2011 7:39 AM PDT
  • gamertag: [none]
  • user homepage:

Talk to the Soul | ~B.B. | Know Your Duardo |  | Hero | ISFJ | 77135 | 94371

"It's not who I am underneath, but what I do that defines me."

Posted by: Skibur
Someone make a script that auto hides all orange text.
It's called Coup.

  • 01.18.2011 7:44 AM PDT
  • gamertag: [none]
  • user homepage:

Positive vibes.

You can automatically hide all orange text with Coup? You learn something new everyday, I suppose.

Posted by: Duardo
Posted by: Skibur
Someone make a script that auto hides all orange text.
It's called Coup.

  • 01.18.2011 8:11 AM PDT

Five years older and wiser
The fires are burning, I'm fire, never tire
Slay warriors in the forests, and on hire

Posted by: a rascal cat
You can automatically hide all orange text with Coup? You learn something new everyday, I suppose.

Posted by: Duardo
Posted by: Skibur
Someone make a script that auto hides all orange text.
It's called Coup.

Keep it too yourself.

  • 01.18.2011 8:12 AM PDT

Userscripts: {
  Shi Options: [Chrome, Firefox],
  Coup-5: [Chrome, Firefox, Opera]
}

Posted by: dazarobbo
Posted by: Tidus Zero
Shi_options.user.js
This script works with Firefox without any errors being thrown.

I like the page-loading thing too. Maybe you could change it to run like how some other sites do it - load the next page once you scroll to the bottom, then append the comments onto the end.

Also, with your regexs, instead of using arrays that are n elements long, you can specify that a grouping doesn't capture what it matches. Example (modified your youtube regex).
Good. I guess I'm just doing something wrong.

Good idea, I've added that now.
Firefox: Shi_options.user.js
Chrome: Shi_options.crx
Edit: Fixed a few bugs.

I don't think I get the advantages of doing this with my Regex, though.

[Edited on 01.19.2011 2:50 AM PST]

  • 01.18.2011 1:49 PM PDT

I'd like to be half-man half-tree in an octopus' garden in the shade.

Tidus, in the new version of the script, whenever I click on the "Last reply" date so that I can skip to the end of a thread, it duplicates that page (below the last reply of the thread is another set of the replies from the same page). This happens especially when it's a thread with only one page.

  • 01.19.2011 12:44 PM PDT

Hi.

Is there any way to make the "shi options" not auto-load the next page in a thread when you scroll down, or is it supposed to be like that?

[Edited on 01.19.2011 3:02 PM PST]

  • 01.19.2011 2:53 PM PDT

Userscripts: {
  Shi Options: [Chrome, Firefox],
  Coup-5: [Chrome, Firefox, Opera]
}

Posted by: Deathtrap462
Tidus, in the new version of the script, whenever I click on the "Last reply" date so that I can skip to the end of a thread, it duplicates that page (below the last reply of the thread is another set of the replies from the same page). This happens especially when it's a thread with only one page.
It happened to me a lot in one of the older versions. I haven't gotten it yet in this version, and I set it to not load replies from threads if the current page has less than one page of replies, so that's weird. You might have an older version. If you do get the same error and you're sure you have the latest version, try refreshing the page and see if it happens again and count the amount of replies that are currently on the page, excluding the duplicate ones.

Posted by: Zomechin
Is there any way to make the "shi options" not auto-load the next page in a thread when you scroll down, or is it supposed to be like that?
I'm going to add an option to disable it soon. Maybe tomorrow.

[Edited on 01.21.2011 4:04 AM PST]

  • 01.20.2011 3:32 PM PDT

AV=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif
BG=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif

Posted by: dazarobbo
Posted by: Tidus Zero
It doesn't seem to work even as an extension.

Uncaught ReferenceError: unsafeWindow is not defined

Unless you meant without the unsafeWindow line, but it doesn't work then either.
Chrome doesn't let you access the Javascript on the page. The unsafeWindow hack only works in Firefox (and Opera, I think).

Another possible solution to using jQuery is to fire off a HTTP request to get bungie.net's copy of jQuery (here), but force Chrome to load it from its cache. Not sure if you can do that or not, but it sounds good in theory.
Chrome allows you to include scripts, like jQuery, alongside your script in extensions.

Although this still won't allow you to use variables on the page, you can use jQuery with minimal work.

Edit: I just thought of this.
Use localStorage as a middle-man and this will set a page variable to localStorage, and then in the script, retrive it from localStorage.

location.href = 'javascript:localStorage.setItem(\'pageVar\', pageVar)';
var extractedPageVar = localStorage.getItem('pageVar');

I haven't tried using it on huge objects though.

[Edited on 01.20.2011 7:15 PM PST]

  • 01.20.2011 7:05 PM PDT

Glory and fame, blood is our name!
Souls full of thunder, hearts of steel!
Killers of men, a warrior's friend!
Sworn to avenge our fallen brothers!
Sons of the gods, today we shall die.
Open Valhalla's door!
Let the battle begin, with swords in the wind! Hail Gods of War!

I have a quick Coup question. Do I need a URL to change my Nameplate Picture? I want to use pics I have saved to my computer, that I can edit with MS Paint to make them fit the bar.

EDIT: Oh, and why can't I see my "message this user" in my posts?

[Edited on 01.22.2011 9:01 PM PST]

  • 01.22.2011 9:00 PM PDT

You can upload them to various hosting sites like imageshack or photobucket. You can't see it because you can't message yourself.

[Edited on 01.22.2011 10:39 PM PST]

  • 01.22.2011 10:39 PM PDT

Glory and fame, blood is our name!
Souls full of thunder, hearts of steel!
Killers of men, a warrior's friend!
Sworn to avenge our fallen brothers!
Sons of the gods, today we shall die.
Open Valhalla's door!
Let the battle begin, with swords in the wind! Hail Gods of War!


Posted by: Luke35120
You can upload them to various hosting sites like imageshack or photobucket. You can't see it because you can't message yourself.


>_> I see. Alright, thanks!

  • 01.23.2011 1:51 AM PDT

Five years older and wiser
The fires are burning, I'm fire, never tire
Slay warriors in the forests, and on hire

Posted by: ExquisiteDragon
Hey, who's got those B.net achievements script? Can't find it.

My shared hosting has ended. I'm moving things over to my VPS apocalypex.co.uk. I need to re buy apocalypex.net.

Edit: Wow

My site, my services and my scripts will all be down until I move every thing over and in 5 days when my registrar transfer goes through. FML basically.

[Edited on 01.26.2011 7:25 AM PST]

  • 01.26.2011 5:16 AM PDT
  • gamertag: [none]
  • user homepage:

After a week of coup absence after a faulty Greasemonkey update IT IS BACK! THANK YOU SATAN!

YEEEAARGH

PS why is the text body so small for posting tools? ;__;

Link.
EDIT: rellick explains it.

[Edited on 01.26.2011 12:44 PM PST]

  • 01.26.2011 11:46 AM PDT

You can make the textfield size bigger by clicking on the plus icon and make it smaller by pressing the minus icon. You can then save it by clicking save textfield.

  • 01.26.2011 12:39 PM PDT
  • gamertag: [none]
  • user homepage:


Posted by: relliK42
You can make the textfield size bigger by clicking on the plus icon and make it smaller by pressing the minus icon. You can then save it by clicking save textfield.

Yes, I was returning to this thread to announce I figured it out.

Thanks any-hoo.

  • 01.26.2011 12:44 PM PDT