Game Maker Community: Just Something I Noticed... - Game Maker Community

Jump to content

Community Forum Rules

The Community forum is for discussions about Game Maker and the Game Maker Community. This includes GM news, GM compatibility and performance issues, GM publications and media, and the GMC forum itself.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Just Something I Noticed... Greasemonkey script to change view mode to linear...

#1 User is offline   Recreate 

  • Programmer
  • Group: GMC Member
  • Posts: 2636
  • Joined: 05-April 08

Post icon  Posted 02 September 2009 - 05:07 PM

I saw a topic asking the same thing about the 5th time or so, And i noticed in the Description
"* The next person to ask this question gets banned *"

You can't blame them!
They don't notice the pinned topics, And by the amount of topics asking this, This probably happens Very often.
So i thought, If the cookie Is manually changed to linear(aka "topicmode"), it should appear as normal again.
So, I wrote This Greasemonkey Script, That automatically Changes your Topic Mode To Linear.

Here it is:Click Here
To install it, You need Greasemonkey installed, And if it is installed Then a windows should appear asking you if you want to install the script.
Or it should look like this...
Posted Image

Its kind of hard showing a picture of it in action, but whatever, It works. :)
But there is one problem, You have to refresh the page some times to view the topic in standard mode, and make sure that "mode=anythingotherthanlinear" is not in the address, Or else it will just cause problems...
Enjoy, Its just a little script i whipped up because i was bored and because i saw the other topic. :medieval:

~ReCreate

This post has been edited by Recreate: 02 September 2009 - 05:09 PM

0

#2 User is offline   Phantom107 

  • 3d Veteran
  • Group: GMC Member
  • Posts: 1610
  • Joined: 24-February 07

Posted 02 September 2009 - 06:00 PM

There is only one problem... what are the odds those total idiots will install your script?
0

#3 User is offline   Recreate 

  • Programmer
  • Group: GMC Member
  • Posts: 2636
  • Joined: 05-April 08

Posted 02 September 2009 - 06:48 PM

I am not sure... But since it is javascript...It could be embedded into the forum...Even into my avatar, as it is powered by php, I could set a cookie value to something with it.
0

#4 User is offline   GrayAvocado 

  • A big bad Wolf
  • Group: GMC Member
  • Posts: 1211
  • Joined: 31-July 06

Posted 02 September 2009 - 07:04 PM

View PostRecreate, on Sep 2 2009, 08:51 PM, said:

I am not sure... But since it is javascript...It could be embedded into the forum...Even into my avatar, as it is powered by php, I could set a cookie value to something with it.


I don't think you could since the image is changing the mimetype and other headers sent by the server, which i think would make cookie-headers non-usable.
0

#5 User is offline   Recreate 

  • Programmer
  • Group: GMC Member
  • Posts: 2636
  • Joined: 05-April 08

Posted 02 September 2009 - 07:16 PM

Yeah...I think your right...
Well...the javascript code could still be embedded into the forum...right?
0

#6 User is offline   GrayAvocado 

  • A big bad Wolf
  • Group: GMC Member
  • Posts: 1211
  • Joined: 31-July 06

Posted 02 September 2009 - 07:27 PM

View PostRecreate, on Sep 2 2009, 09:19 PM, said:

Yeah...I think your right...
Well...the javascript code could still be embedded into the forum...right?


It could, but what about those users who actually want to view the forum in lo-fi?
0

#7 User is offline   Recreate 

  • Programmer
  • Group: GMC Member
  • Posts: 2636
  • Joined: 05-April 08

Posted 02 September 2009 - 07:37 PM

Ummm...then it won't effect them?
0

#8 User is offline   tangibleLime 

  • Lunatic
  • Group: Local Moderators
  • Posts: 2082
  • Joined: 23-December 03

Posted 02 September 2009 - 07:37 PM

View PostRecreate, on Sep 2 2009, 02:51 PM, said:

I am not sure... But since it is javascript...It could be embedded into the forum...Even into my avatar, as it is powered by php, I could set a cookie value to something with it.

What about the users who choose to use a display type other than linear? Please refrain from using your avatar or signature for such actions - nobody wants the avatar or signature of another user to modify things on their computer.

#9 User is offline   Recreate 

  • Programmer
  • Group: GMC Member
  • Posts: 2636
  • Joined: 05-April 08

Posted 02 September 2009 - 07:39 PM

Good point...It would be too hard and to time-wasting Anyways.
0

#10 User is offline   makerofthegames 

  • Makin' Games
  • Group: GMC Member
  • Posts: 4230
  • Joined: 03-December 06

Posted 02 September 2009 - 07:47 PM

Well, if he did it in his avatar, it wouldn't affect low-fi viewers. :medieval: :)

joke

This post has been edited by makerofthegames: 02 September 2009 - 07:53 PM

0

#11 User is offline   GrayAvocado 

  • A big bad Wolf
  • Group: GMC Member
  • Posts: 1211
  • Joined: 31-July 06

Posted 02 September 2009 - 08:05 PM

View Postmakerofthegames, on Sep 2 2009, 09:50 PM, said:

Well, if he did it in his avatar, it wouldn't affect low-fi viewers. :medieval: :)

joke


I ment what Roach said :)
0

#12 User is offline   score_under 

  • The simplest thought
  • Group: GMC Member
  • Posts: 1213
  • Joined: 02-March 04

Posted 02 September 2009 - 08:07 PM

View PostRecreate, on Sep 2 2009, 07:51 PM, said:

I am not sure... But since it is javascript...It could be embedded into the forum...Even into my avatar, as it is powered by php, I could set a cookie value to something with it.

1. Much easier to edit the PHP script that defines the default view mode than to apply a useless cookie.
2. Cookies don't work that way, using it in your avatar would do nothing.
0

#13 User is offline   Ampersand 

  • Greatest boolean of all
  • Group: GMC Member
  • Posts: 741
  • Joined: 18-June 06

Posted 02 September 2009 - 08:53 PM

It's possible to set cookie values through your avatar?

I'd never even pondered it.
0

#14 User is offline   Dr. Watz0n 

  • The Best Doctor
  • Group: GMC Member
  • Posts: 345
  • Joined: 05-August 07

Posted 02 September 2009 - 09:12 PM

It is, but not for the forums. They use various naming mechanisms for cookies so it wouldn't work.
0

#15 User is offline   Desert Dog 

  • GMC Member
  • Group: GMC Member
  • Posts: 3024
  • Joined: 26-August 08

Posted 02 September 2009 - 09:15 PM

Quote

I saw a topic asking the same thing about the 5th time or so, And i noticed in the Description
"* The next person to ask this question gets banned *"

Pin that topic. People will notice for sure.
0

#16 User is offline   makerofthegames 

  • Makin' Games
  • Group: GMC Member
  • Posts: 4230
  • Joined: 03-December 06

Posted 02 September 2009 - 09:30 PM

I hope "THe next person to ask this question gets banned" is just a joke, or a false scare-tactic.

EDIT: LMFAO! "The next person to ask this gets beaned."

This post has been edited by makerofthegames: 05 September 2009 - 12:18 AM

0

#17 User is offline   Recreate 

  • Programmer
  • Group: GMC Member
  • Posts: 2636
  • Joined: 05-April 08

Posted 02 September 2009 - 09:43 PM

Right now i would create another account and ask the question, to see, but when i see my warn level...I rather not... :)

This post has been edited by Recreate: 02 September 2009 - 09:44 PM

0

#18 User is offline   syth184 

  • GMC Member
  • Group: GMC Member
  • Posts: 1309
  • Joined: 02-June 06

Posted 05 September 2009 - 07:10 PM

well heres something that i dont get.. if they dont see the pinned topic, what are the chances they will see this, more obscure, non-pinned topic? And if they do see this topic, it refers them to the pinned topic, and tells them that they can just do it themselves easily. so i dont really know why someone would download your script, unless they were really lazy and really dense
0

#19 User is offline   makerofthegames 

  • Makin' Games
  • Group: GMC Member
  • Posts: 4230
  • Joined: 03-December 06

Posted 05 September 2009 - 08:59 PM

I think the point of the script is to automaticly do it so if you ever accidentally do it in the future you don't have to do anything else because well it's automaticly fixed.
0

#20 User is offline   Recreate 

  • Programmer
  • Group: GMC Member
  • Posts: 2636
  • Joined: 05-April 08

Posted 05 September 2009 - 09:17 PM

Yes, Exactly.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users