Customized Mangafox

By knaces Last update May 22, 2009 — Installed 3,281 times.

Question

in
Subscribe to Question 7 posts, 2 voices



horror User

After you install the script...how do you use it? I checked and its active but theres no away to change any settings

 
knaces Script's Author

Ahh, sorry if I wasn't clear enough and for the late reply. There is two ways.

1. Use user script commands assuming you don't have an extemely outdated version of scriptmonkey. (This can only be done when the script is active: when viewing a manga page)

Method A.
- right click on the greasemonkey icon,
- hover "User Script Commands",
- and select the options you wants to change

Method B.
- Go to firefox tools menu,
- hover greasemonkey,
- hover "user script commands",
- and select the options you wants to change

A popup will confirm the change but you need refresh the page or, better yet, just go to the next manga page.

2. You can manually edit the script as most of the options are either "true" or "false". Updates will reset this so you have to do this every once in a while. Changes done with method 1 supercedes this option. Currently there is no simple method to clear out settings done with method 1 without manually deleting the settings in about:config or creating a new firefox profile.

 
knaces Script's Author

I recommend you use the first method (1. Method A to be exact) but in case you can't or don't want to, you can always edit the source code (edit button in your greasemonkey script manager). It isn't particularly hard but it might get annoying. You do, however, get a few more settings you can change as I didn't want to clutter the "user script commands" menu.

As shown below, all the settings are within this section of code which most can be set to true or false.

Example:

var stretch = false; //Auto-stretch the manga image
can be changed to
var stretch = true; //Auto-stretch the manga image

///////////////////////////////////////////////////////////////////////////////////
// Config Section
// --------------
// Settings not done through User Script Commands (to reduce menu size and for simplicity)

	var bg_color = '#00000f';   //color for custom background color

//
///////////////////////////////////////////////////////////////////////////////////
//  Default Configuration - please use User Script Commands for persistant changes through upgrades

	//General Features Control
		var prefetch = true;   //Toggle Next Page Loading (Prefetching)

		var background = false;   //Toggle custom background color


		var stretch = false;   //Auto-stretch the manga image

		var view = false;   //Toggle between Minimal(true) and Normal(false) View
			//View = True
				//No Settings yet...
			//View = False
				var manga_link = 'top';   //Move Manga Info Link in relation to image
					//'XXX' = 'none' or 'top' or 'bottom' 

		var remove_header = true;   //Toggles display of area above image

		var remove_ads = true;   //Toggle remove_ads: Support mangafox and keep this disabled

		var autoupdate = true;   //Enables autoupdating (won't effect any configuration done through user script commands)



//
///////////////////////////////////////////////////////////////////////////////////

Tip: Turn auto-update off to prevent unexpected resetting of the configurations.

 
horror User

http://i43.photobucket.com/albums/e364/horrorif...

I'm viewing a manga, I have the latest greasemonkey, and the script is active...but the commands are gray-outed

 
knaces Script's Author

Hmm, that's strange. It works on my browser (tested with firefox 3.1 beta). Can't say I have experienced it. Your status bar seems a bit different though, Opera?

Using another browser other than firefox
If you are using some other browser, some parts of the script may or may not work as it's a bit different than the original firefox greasemonkey. I'm aware opera and chrome has some support for greasemonkey but I'm not too familiar with them and believe they are limited in compared to firefox. I don't think my script would run well in anything other than firefox. If you are running opera, let me know. I may look into it but it might take a bit longer as programming to the lowest common commands isn't exactly fun... (horrible flashbacks of making website's js supporting varous browsers).

If using firefox
Other than that, I can only say to make sure greasemonkey is up-to-date. If the script appears to be working: try to manually edit the source code if it's not too confusing for you. I haven't tested it with firefox 2 as mozilla foundation no longer supports it (it should work but I may have overlooked something).


Please post your browser type and version and your greasemonkey version if you can. I'll try to look into it to the best of my ability but I can't see the reason why unless you are using opera like I said (I'd have to look up what commands opera's greasemonkey supports).

My email for quicker response: knaces+gm @ gmail .com (spaces to avoid those automatic address reader spam things)
 
knaces Script's Author

Ahh, I'm extremely sorry about that. I introduced that bug in the last version or so and failed to notice it (it only noticed in the default configuration which i don't use). I need to improve my testing proccess but in truth, i rather just rewrite the whole script when I have the time (just haven't gotten around to coding the stuff I want). It's kinda at the point where it works mostly for my needs and spending more time deminishes the return I get on working on this script but I do plan and improving this eventually as I read on mangafox alot.

 
horror User

Thanks for fixing it, its a great script :)

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel