| 
View
 

Developer Info

Page history last edited by Andrew H. 15 years ago

If you have any questions, feel free to PM me.

 

 

DOM Events


IGN++ will fire custom message events when stuff happens on the page, which you can then detect with your own extension/userscript.  Install this Greasemonkey script to watch when the events happen.  IGN++'s autorefresh feature will often destroy or add content that is usually modified by another userscript, so you can use these events to add content back in.  The event target is always the element that has been changed or added.  The event data is always "ignpp", intended as a sort of namespacing.  The events are not cancelable.  Below are all of the events that are fired:

 

pollChange

Changed a poll

 

topicListChange

Topic list on board changed

 

newReply

New reply appended to reply list

 

replyEdited

Reply edited

 

newPaginator

New paginator appended to page

 

paginatorChange

Paginator changed

 

recentPostsChange

Recent posts area changed

 

newPMBubble

PM bubble appended because a PM was received

 

PMBubbleRemoved

PM bubble removed because all PMs read

 

morePMs

One or more new PMs received

 

lessPMs

One or more PMs read

 

 

 

CSS Selectors (for Stylish)


IGN++ is made to be relatively easy for you to change its appearance.  Below, you'll find some helpful selectors for certain things, but you'll probably need to dick around in Firebug.

 

.panel

Any panel

 

span > .panel, td > .panel, div > .panel

Any integrated panel

 

body > .panel

Any floating panel

 

.pm, .edit, .topic, .reply

Specific types of panels

 

.wysiwyg

Any WYSIWYG editor

 

.newReply

All new replies from autorefresh

 

.editedReply

All edited replies from autorefresh

 

.hiddenReply

Any ignored or hidden posts

 

 

 

Contribution


If you want to help in developing IGN++, PM me.  The repository can be found here.

 

You can also help by giving me money:

 

 

The script is open to modification and redistribution on your own under certain circumstances (see EULA in source code), but this is more of a contingency plan for if I disappear suddenly.  I'd prefer that there aren't five different flavors floating around while it's under development.

 

If you simply have an idea or request, you can report it on the issue tracking page.

 

 

Comments (0)

You don't have permission to comment on this page.