Skip navigation

Sign up | Lost password? | Help

My program for Opera

UserJS

, ,

a-lib-stacktrace.js and a-lib-xmlhttp-cd.js - Cross-domain XMLHttpRequest for Opera.

aagmfunctions.js - Emulates some functions of Greasemonkey. Used for providing of the best compatibility with scripts from FireFox.

allinbackground.js - Opens links in a background on Ctrl+Click.

allow-ini-variables.js - Allows to use the internal variables of Opera (%c, %t) in JavaScript.

alt2title.js - If the tag «Title» is not set, copies content of tag «Alt» in him. It's needed for the "correct show" of tag «Alt» as a pop-up prompt at pictures, as it does IE. (let-me-see-img.js usually better)

auto-copy.js - Copies the selected text in the clipboard (flash is needed). A version correctly working with Russian language is here.

autocopy.js - Copies the selected text with formatting in the clipboard. Only for Windows.

autosizer.js - This script activates when you use Opera to view an image file and adds five different viewing modes for images: "Original", "Shrink to Fit", "Maximize", "Fit to Width" and "Fit to Height". New version here. Version for Opera 9.5 here.

bbcode.js - Inserts in the textarea any BBCode and HTML tags.

block-external-scripts.js - Blocks loading of scripts from other domains. It takes away advertising realized on js, for example, Google AdSense or "pop-up windows v2.0", like this.

blockexternal.js - Blocks scripts, pictures, frames and flash from other domains. It advertising in most cases. There is a white list.

block_external.js - More advanced variation on a that theme from Mikivanch. Except for other, allows to block pictures in size. Does not block scripts.

BlockIt.js - Bloker of scripts. Approximate analogue of extension NoScript for FireFox.

bug-me-not.js - Using service BugMeNot.com searches logins and passwords for the sites of requiring authentifications. Run on Ctrl+Shift+Double Click.

convert2phf.js - Saves a page in phf or mht. A page is saved with all of changes done by javascript.

coolirisalike.js - At pressing of Ctrl and hovering of mouse on links, the preview window shows. (attempt to realize the analogue of Firefox exptension Cooliris Previews).

devConsole.js - Console of developer. For work as UserJS will replace the first line «(function()» on «function ujs_devConsole()», and last «})()» on«}» and use the button: Dev console.

disable-script.js - Blocks all of scripts on sites, but allows to use UserJS.

dlembed.js - Double click on blank space of page, will add before each flash, link for downloading. There exists button version.

extra-download-links.js - Adds links to the pictures and flash in sidebar "Reference". Here last version.

fix-content-type.js - If HTML pages are incorrectly served as text, this script attempts to correct them, and load them as HTML

fix-gzipped-pages.js - Corrects the twice gzip-compressed pages.

get-link-info.js - Gives out information about link. Namely: size, date, content-type. Sufficiently bugged and consumes a more traffic what separate utilities.

google-translate - Text translation, including full pages, selected text and textarea, with a Google Translate.

google-translation with tooltip - Variant from Ayush, oriented to translation of separate words.

hide-objects.js - Hides a flash on pages. Unblocking via double click. (Flashblocker is better).

highlighter.js - Advanced search with highlighting. Including in Google and with using of regular expressions.

HighlightText.js - At pressure on the button, changes the color of current selection on yellow and it memorizes in cookies. Analogue of extension Line Marker for FireFox.

image_reloader_for_opera.js - Image loading, on Ctrl+Click or long pressing of the left mouse button.

keyboard.userjs.js - Virtual keyboard which is added to the test fields on a page.

let-me-see-img.js - In place of the not visible not loaded images shows a border. In addition, shortens too long inscriptions in place of images and copies content from alt to title.

link-alert.js - This script identifies links to specific file types, and displays an appropriate icon when the link is hovered. Sufficiently bugged. Better to use links-with-icons.css.

linkifier.js - Does «text links» a clickable. There can be problems with speed.

linkify-txt.js - Does clickable, a links in text files.

logger.js - Writes down history of the visited pages in a file. Java is needed.

middleclickJSOverride.js - Provides correct work, in case click a middle-button on javascript-link.

multipopup.js - Beautiful transparent tooltips with additional possibilities. Not forget to disable built-in tooltips. Can cause problems.

no_meta_redirect.js - Disable a meta-redirect.

noclicktoactivate.js - Avoiding click-to-activate for plugins (flash, for instance). Version for Opera 9.5 here.

open-in-background-with-long-press.js - Opens new tab in a background with long click. Useful for laptop users. In Opera 9.5x you must set Ctrl+F12->Advanced->Content->Javascript options->Allow lowering of windows.

open-in-new-window.js - All links will opened on a new page. Works only on sites which written in beginning of script.

open_browser.js - Opens the certain sites in the certain browser. Only for Windows.

ops.js - Provides autocomplete feature for text input fields. Two (improved) variants are here.

ospell.js - On-line spell checking in textarea.

pdfHandler.js - Deletes an empty page at opening files *.pdf, *.doc and *.xls.

Remove_it_permanently-for_Opera.js - Deletes the clicked element of page. Permanently. Only for Windows.

removeblank.user.js - Deletes all attributes «target="_blank"», which cause opening of links on a new page.

robosticky.js - Add sticky-notes to HTML and XHTML pages.

safe-alert.js - Allows to stop appearance of js-alert for a page.

scroller.js - Enables to scroll a page, with pressing Ctrl and left button and moving a mouse.

seobar3.js - Is a powerful tool for web-site promoters and analysts. SEObar can display the following information on the page of your browser: Alexa Traffic Rank, Google Page Rank, Yandex CY and more.

Smilize.user.js - Transform text smiles (for example, :smile:, :-), :d, :D, etc) in animated gif. Need aagmfunctions.js.

snap-links.js - Open multiple links by drawing a box around links.

snap-images_userjs.js - Similar for images.

text-replacement.js - Replaces the certain text on all of pages.

titleprotector.js - Does not allow web-pages to change a title of browser with JavaScript.

xerath-plugsome-toolbar.js - Shows near each flash, toolbar with buttons: Reload, Save, Play and Pause. Two last work not everywhere.

xerath-power-drag.js - Allows to change the size of textarea and images by a mouse.

xml-tree.user.js - Shows XML files as a tree and with syntax-highlighting.

zoom-image.user.js - This script allows you to zoom individual images using an image toolbar appearing whenever you hold your mouse over an image.

Site-specific UserJS
experts-exchange.com - ExpertsExchangeFilter.user.js. Removes all the garbage, fake entries and other stuff.

google.com - Google Fx (need aagmfunctions.js). Nice Look&Feel + ThumbShots + Global Suggest (multi-lang) + Streaming Auto-Pages + Easy Adv. Features + Images relink, cache pages & easy filters.

livejournal.com - lj_unfolder.user.js. This script adds to Livejournal comment pages ability to download logn threads inline, ajaxy.

my.opera.com - MyOpera Community Enhancements.

rapidshare.com - rapidshare_com.js (scripts for similar services is here).

youtube.com - youtube_com.js, youtube_down.js, videoscript.user.js.

oGet Eng Ver 1.9.2 oGet Ver 1.9.6

Comments

tytyty 21. April 2007, 15:24

Open in Background is wonderful.thanks.

AyushJ 12. July 2007, 18:30

open-in-background


This one is better:
http://my.opera.com/community/forums/findpost.pl?id=2096139

For background tab:
document.addEventListener("click",function(e){
var a=e.srcElement;
if(a.tagName=="A" && a.href && a.href.indexOf('javascript:')!==0)
{ window.open(a.href,'_blank').blur();e.preventDefault() }
},false)

Lex1 12. July 2007, 22:37

Yes, so better. I utillized similar in open-in-background-with-shift.js (permanent opening in a background, imho uncomfortably)
function Click_ujsenabled(e){
if(e.shiftKey){var hl = e.srcElement;while (hl.nodeName != 'A' && hl.nodeName != 'HTML'){hl = hl.parentNode};
var hr=hl.href;if(hr){e.stopPropagation();e.preventDefault();if(hr.indexOf('javascript:')==0){eval(hr)}
else{var newWindow=window.open(hr);newWindow.blur()}}}};

document.addEventListener('click',Click_ujsenabled,false)

Btw, yours code do not work on similar links

Программы » Плагины для Total Commander

AyushJ 12. July 2007, 22:49

Btw, yours code do not work on similar links


:o: forgot about clicks inside elements in A.
Try this untested js-

document.addEventListener("click",function(e){
var a=e.srcElement.selectSingleNode('ancestor-or-self::A[1][@href and not(starts-with(@href,"javascript:"))]');
if(a){
window.open(a.href,'_blank').blur();
e.stopPropagation()
e.preventDefault()
}
},false)

Lex1 13. July 2007, 14:32

Ok. I also renewed UserJS and used such verification

if(a.href && a.protocol != 'javascript:' && a.getAttribute('href')[0] != '#'){

dapxin 28. December 2008, 11:05

Thanks. Terrific collection.

I wish opera10 will let us manage userjs natively.

phuongtran84 9. June 2009, 09:19

thanks

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

Type the two words displayed in the image below:


Smilies