PDA

View Full Version : Re-enabling sigs using a crude hack


Isildur
07-28-2005, 07:52 PM
Let's see if this works right...

<p id="signature"><center><a href=http://1001insomniacnights.com><img src=http://pages.nyu.edu/~jc73/misc/1k1IN.gif border=0>
1k1IN:</a><font color=#903030>A Dark Comedy About 2 Roomates</font></center></p>

Isildur
07-28-2005, 08:22 PM
Done using a javascript file that Opera adds when it loads the page. (See attached)

<p id="signature"><center><a href=http://1001insomniacnights.com><img src=http://pages.nyu.edu/~jc73/misc/1k1IN.gif border=0>
1k1IN:</a><font color=#903030>A Dark Comedy About 2 Roomates</font></center></p>

C:Serverxampphtdocszopharoldwwwthreadsattachmentsz md_add_sig.js.txt

Isildur
07-28-2005, 08:25 PM
> Done using a javascript file that Opera adds when it loads
> the page. (See attached)
>

If anyone's interested, it should be possible to do the same thing in Mozilla, using a Greasemonkey script.

<p id="signature"><center><a href=http://1001insomniacnights.com><img src=http://pages.nyu.edu/~jc73/misc/1k1IN.gif border=0>
1k1IN:</a><font color=#903030>A Dark Comedy About 2 Roomates</font></center></p>

Kitsune Sniper
07-30-2005, 08:39 PM
> If anyone's interested, it should be possible to do the same
> thing in Mozilla, using a Greasemonkey script.
>

... it works in Firefox...

Cornellius
07-30-2005, 08:53 PM
We SEE it because he used the hack in OPERA. Yes you can SEE it with Firefox, but you need another hack to CREATE IT in firefox.

king killa
07-30-2005, 09:00 PM
> We SEE it because he used the hack in OPERA. Yes you can SEE
> it with Firefox, but you need another hack to CREATE IT in
> firefox.
>

and you need SHIFT or CAPS LOCK to CAPITLIZE words for EMPHASIS.

Dark Macc
07-30-2005, 10:21 PM
> and you need SHIFT or CAPS LOCK to CAPITLIZE words for
> EMPHASIS.

<img src=smilies/laff.gif>

Cornellius
07-31-2005, 04:05 AM
HEY, YOU are REALLY a FUNNY guy, YOU know that ?

Ugly Joe
07-31-2005, 05:05 AM
> HEY, YOU are REALLY a FUNNY guy, YOU know that ?
>
THESE PRETZELS are making me THIRSTY!

puzzl
08-01-2005, 11:08 AM
> > HEY, YOU are REALLY a FUNNY guy, YOU know that ?
> >
> THESE PRETZELS are making me THIRSTY!
>

OH SNAP!

Kitsune Sniper
08-01-2005, 11:27 PM
> We SEE it because he used the hack in OPERA. Yes you can SEE
> it with Firefox, but you need another hack to CREATE IT in
> firefox.
>

I d o n o t u n d e r s t a n d w h a t y o u m e a n t b y t h a t . . .

Isildur
08-02-2005, 09:22 AM
One person PMed me, asking me to elaborate on how to use the script I wrote (http://www.zophar.net/wwwthreads/attachment.php?Cat=&Board=test&Post=267360). I started writing this as a private reply, but then realized that I might as well just post these instructions here so that everyone can read it.


&bull; Open the attachment in Notepad, and replace the text "_______sig_goes_here_______" with your sig text. Remember to escape anything that needs escaping, e.g. write \n instead of hitting enter.

&bull; If you're using Opera 8 like I am, make a folder named "userjs" in your Opera settings folder (it can actually be any location, but this is what I did) and save the script there, so that you now have something like this:
C:\Documents and Settings\________\Application Data\Opera\Opera7\profile\userjs\zmd_add_sig.js

(Remember to remove the .txt extension. I added that simply so that ZMD would accept it as an attachment.)
(Also, in case anyone is wondering, my settings folder is named "Opera 7" because I installed version 8 over my version 7 installation)

&bull; Then go to [main menu] > Tools > Preferences > Advanced > Content

&bull; Check the "Enable JavaScript" box if it isn't already checked, and click the "JavaScript options" button.

&bull; Where it says "My JavaScript files", enter the directory that you put the script in.

&bull; After you click the OKs, the next time you make a new post, your sig text or code should automatically show up in the body text input field, when you load the post entry page.


For further information, you may want to take a look at Opera's "User JavaScript" page (http://opera.com/support/tutorials/userjs/). If I get around to it, maybe I'll make a better version of the script, that adds the sig after you're done writing the new post, rather than before, so that you don't see it until you actually post.


I haven't used Mozilla for quite some time, but I'm guessing the setup is similar once you install Greasemonkey (https://addons.mozilla.org/extensions/moreinfo.php?id=748).


Disclaimer: I make no guarantees about the safety of using Opera's "User JavaScript" function or the Greasemonkey extension for Firefox. A quick Google search turned up this article (http://www.theinquirer.net/?article=24741), which warns that verions of Greasemonkey other than 3.5 have a serious security hole.
<p id="signature"><center><a href=http://1001insomniacnights.com><img src=http://pages.nyu.edu/~jc73/misc/1k1IN.gif border=0>
1k1IN:</a><font color=#903030>A Dark Comedy About 2 Roomates</font></center></p>

Isildur
08-02-2005, 09:29 AM
> > We SEE it because he used the hack in OPERA. Yes you can SEE
> > it with Firefox, but you need another hack to CREATE IT in
> > firefox.
> >
>
> Iテつ* d oテつ* n o tテつ* u n d e r s t a n dテつ* w h a tテつ* y o uテつ* m e a n tテつ* b yテつ* t h a t . . .
>

My hack isn't for allowing me to view other people's sigs. What it does is it automatically inserts my sig text into the body of every post I write, so that everyone else (except for people who have sig-viewing disabled in their ZMD display preferences) can see my sig.

<p id="signature"><center><a href=http://1001insomniacnights.com><img src=http://pages.nyu.edu/~jc73/misc/1k1IN.gif border=0>
1k1IN:</a><font color=#903030>A Dark Comedy About 2 Roomates</font></center></p>

Disch
08-02-2005, 05:45 PM
> What it does is it automatically inserts my sig text into
> the body of every post I write, so that everyone else
> (except for people who have sig-viewing disabled in their
> ZMD display preferences) can see my sig.

Umm... isn't that what sigs do anyway? Couldn't you just put a sig in your profile instead of doing all this nonsense?

Or am I missing something.

Dark Macc
08-02-2005, 05:50 PM
> Or am I missing something.

Sigs no longer work through ZMD's signature option.

Disch
08-02-2005, 05:56 PM
oooooh

okay. I hadn't noticed ^^

Slicer S. V.
08-03-2005, 04:36 AM
Wait a minute... Is sig length now unlimited if you use this hack? i don't really want to start seeing really long sigs just because someone installed your hack...

Isildur
08-03-2005, 05:30 AM
> Wait a minute... Is sig length now unlimited if you use
> this hack? i don't really want to start seeing really long
> sigs just because someone installed your hack...
>

For good or evil any power can be used, mmm yes? ''''\(=)_(=)/''''
But know this, you should. Balance there is:
Long sigs lead to annoyance. Annoyance leads to complaints. Complaints lead to warnings. Disregarded warnings lead to banination.

<p id="signature"><center><a href=http://1001insomniacnights.com><img src=http://pages.nyu.edu/~jc73/misc/1k1IN.gif border=0>
1k1IN:</a><font color=#903030>A Dark Comedy About 2 Roomates</font></center></p>

Isildur
12-04-2005, 04:06 PM
Guess I won't be needing that anymore.

So long to being the only guy on the board with a sig. ;)
<P ID="signature"><center>
<a href=http://1001insomniacnights.com><img src=http://pages.nyu.edu/~jc73/misc/1k1IN.gif border=0>
1k1IN:</a><font color=#903030> A Dark Comedy About 2 Roomates</font></center></P>