|
This thread is locked; no one can reply to it. |
1
2
|
A.cc Javascript Extension |
ImLeftFooted
Member #3,935
October 2003
|
I've finally finished my in-page edit extension for allegro.cc. To try it out, copy this text to your clipboard (ie control C):
and then navigate to this page: You must be logged in to install the extension. |
Indeterminatus
Member #737
November 2000
|
Testing ... edit: Without having to read all the code through, what is it supposed to do? edit 2: Now it seems to be working... Nice! _______________________________ |
ImLeftFooted
Member #3,935
October 2003
|
Click the edit button on your post. Btw, its only tested on FF so far. |
X-G
Member #856
December 2000
|
That did absolutely nothing. Firefox 1.5. -- |
ImLeftFooted
Member #3,935
October 2003
|
Any errors reported? Where does your edit icon lead? Whats the roll-over address for your edit icon? |
X-G
Member #856
December 2000
|
It leads to the same place it always has, and shows no relevant errors that I can see. -- |
Jakub Wasilewski
Member #3,653
June 2003
|
Not only it does nothing on my FF 2.0 (no errors, and the usual edit link), but I also had a very hard time changing it back. For some reason, the Control Panel custom CSS dialog was loading for about 60 seconds, cycling back and forth between "Waiting..." and "Transferring..." in the status bar. --------------------------- |
ImLeftFooted
Member #3,935
October 2003
|
If you roll the mouse over the edit icon do you get http://something/edit-post/### or do you get javascript:loadEditor? |
X-G
Member #856
December 2000
|
-- |
ImLeftFooted
Member #3,935
October 2003
|
Did you refresh your cache? FF usually refreshes the js file after 3 consecutive reloads. |
X-G
Member #856
December 2000
|
Throws an error I can't copy-paste (something about nodes), then opens the normal editor. -- |
relpatseht
Member #5,034
September 2004
|
The error reads, '[Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "http://www.allegro.cc/js/user.js/#### Line: 86"]' Using FF 2.
|
ImLeftFooted
Member #3,935
October 2003
|
Ok Version 0.4 is ready to go! Should fix that error and a few others. |
Matthew Leverton
Supreme Loser
January 1999
|
You should just make use of the RPC class. |
ReyBrujo
Moderator
January 2001
|
So, what are you going to do with all our cookies? -- |
ImLeftFooted
Member #3,935
October 2003
|
Originally it was used to get the session cookie, until I realized it was already injected into the http header anyway. I just didn't get around to erasing it. I can't collect them because that would be cross-domain, which is impossible. Has it actually worked for anyone yet? @RPC, cool! Useful wiki page. I see I should be using doc.add_onLoad instead of the setTimeout trick. I saw the onLoad stuff but couldn't figure out how to utilize it. * *edit |
Rampage
Member #3,035
December 2002
|
Edited by mistake... -R |
ImLeftFooted
Member #3,935
October 2003
|
Does your post change before you get the message box? If it does then version 0.4.1 should fix it. |
Rampage
Member #3,035
December 2002
|
It works now, but I don't see the original text in the edit box. -R |
James Stanley
Member #7,275
May 2006
|
Testing. EDIT: EDIT2: |
Thomas Fjellstrom
Member #476
June 2000
|
Quote: It seems to be requesting a Microsoft ActiveX control. IIRC, IE doesn't have dedicated support for the XMLHttpRequest object, it gets loaded on demand from a ActiveX control. Silly I know. -- |
Tobias Dammers
Member #2,604
August 2002
|
Quote: I don't know if FF or Konqueror even support ActiveX, They don't. Which is a good thing. --- |
Michael Faerber
Member #4,800
July 2004
|
Quote: and then navigate to this page:http://www.allegro.cc/cc/theme-css This leads me straight to the main page of allegro.cc. [EDIT] [EDIT] -- |
GullRaDriel
Member #3,861
September 2003
|
Testing ... I got the following error: TypeError: document.getElementById("btnPost") has no properties "Code is like shit - it only smells if it is not yours" |
Samuel Henderson
Member #3,757
August 2003
|
Quote: This leads me straight to the main page of allegro.cc. I noticed that after logging in the link took me to custom css and js page. ================================================= |
|
1
2
|