Archived Comments (locked)

in
Subscribe to Archived Comments 4 posts, 3 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Jared Forsyth Scriptwright

you could just combine all the code into one script, and do an if/else

 
Kristopher Script's Author

Wouldn't that still require each script already be installed?

I'm currently working on script which will default to the regular, everything turned off.. Though through use of User Script Commands, allow the user to turn on or off certain elements.

 
Jared Forsyth Scriptwright

Kristopher, many of you scripts could be condensed:
Only Fark News/Comments, Toggle Topmenu & Tabs
Only Fark News/Comments, Topmenu & Tabs
Only Fark News/Comments
could be just one "Only Fark" and then have users specify how much they want shown:

var setprefs = function(e) {
var shown = prompt("show on Fark: 0 for just News/Comments, 1 for Topmenu and Tabs:",
GM_getValue("only_fark_show"));

if (shown == null) return;

while (isNaN(shown) || (shown != 0 || shown!=1)) {
alert("Sorry, please enter 0 or 1");
rpp = prompt("show on Fark: 0 for just News/Comments, 1 for Topmenu and Tabs:", shown);
if (shown == null) return;
}
GM_setValue("only_fark_show", shown);
}

GM_registerMenuCommand("Only Fark Options", setprefs);

the same could be done for your "Only Digg"s

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