User JavaScripts
Sunday, December 31, 2006 11:34:37 AM

--Snap Links UserJS
--Find/Replace in textareas
--Zoom images with mousewheel
--Remove It Permanently (RIP) - Opera UserJS
--Formatting tools(BBCode buttons) in Quick Reply
--Total Validator JS
--BugMeNot JS
--Google Translation in tooltip JS
--Make image-urls(plain text) to links+previews [v1.1]
--Open/Focus tab opener
--BreadCrumb URL
--Linkify Plain-Text Files[modified]
Snap links - open multiple links quickly by drawing a box
- Select the links by dragging mouse around the links to create a box
- Hold shift key to select all links (otherwise the script will only select big links)
- Hold alt key if you want to move the rectangle
- Leave the mouse button to open the selected links in new tabs
- See Screenshots- UserJS, FF Extension
- Based on Firefox's Snap Links extension.
- To show Find/Replace dialog, press [Ctrl+R] (you can change the shortcut key in script)
- >Download.
- Hold Alt key then scroll the mouse-wheel up/down over an image to zoom in/out
- Alt+Click on image to restore to original size
- Also see this zoom-image menu
- Remove any element from any page permanently !
- 1- Download the script to your userjs folder.
- 2- Create a button with action:
Execute program, "Path to the downloaded userjs", "%u", "Block", "Transfer Stopped" & Go to page, "javascript: opera.cleanHash()" - Then Just hold Ctrl+Shift and click on elements that you want to block then click on the Block button.
- This script adds formatting tools- B,I,U,CODE etc. in quick reply area,blog comments textarea, message reply and above QuickEdit textarea.
- You can also use Keyboard shortcuts. Press Ctrl key then the shortcut key. For Example- To activate Bold, press Ctrl then B
- Download !
- -- The script reselects the selected text after applying a command. If you dont like that, turn it off by opening the script in notepad and setting AutoReSelect to 0.
- Use this button to run the Validator : Validate
- you can use different buttons for different options.
- To run the script: Double click on web page while holding down Ctrl and Shift key.
- Click the [<<] button to enable the script then Select the text you want to translate.
- To use the script, drag Open ^ button to a toolbar and click it to focus/reopen the window/tab opener.
- -this is modified version of original 'Linkify text files' userjs by Arve.








1 2 Next »
Simon Houstonshoust # Friday, April 13, 2007 12:33:09 AM
if(y.length>2){for(var iX=0,temp,curr=b,X;iX<y.length;iX++){ if(!y[iX])continue X=y[iX]+"/"; curr+=X;temp=d[s]("A") temp.textContent=X temp.href=curr x.appendChild(temp) }}AyushAyushJ # Friday, April 13, 2007 1:11:22 AM
Pallab DeIndyan # Friday, May 4, 2007 2:37:49 AM
epilos # Wednesday, July 4, 2007 5:43:40 AM
[img]
the linkifier doesnt linkify it
MitsutomoMitsutomoHonma # Tuesday, July 10, 2007 3:22:53 AM
However, I am liking and using the engine of Infosee and Amikai. Then, I want to add under Babelfish. Excuse me, please let me know the portion of following ResultText:.
LangPairs:{"Infoseek-DeJa":'x,x'}, ResultText: URL:"http://translation.infoseek.co.jp/?selector=0&submit=&outer&svp=OPERA&ac=Text&lng=en&original=%T" LangPairs:{"NiftyEnJa":'x,x'}, ResultText: URL:"http://nifty.amikai.com/amitext/indexUTF8.jsp?c_id=nifty&lang=JA&langpair=EN%2CJA&sourceText=%T&translate=%E7%BF%BB%E8%A8%B3%E3%81%99%E3%82%8B&translatedText="AyushAyushJ # Wednesday, July 11, 2007 12:06:23 PM
For Amikai, add:
,'Amikai': { LangPairs:{'English to Japanese':'EN,JA'}, ResultText:function(){ var form=document.forms.translateForm;return (form && form.translatedText.value) }, URL:"http://nifty.amikai.com/amitext/indexUTF8.jsp?c_id=nifty&lang=JA&sourceText=%T&langpair=%FROM,%TO&translate=%E7%BF%BB%E8%A8%B3%E3%81%99%E3%82%8B" }MitsutomoMitsutomoHonma # Thursday, July 12, 2007 2:54:30 AM
I'm sorry, Infoseek is the question that follows are right.
,'Info-EnJa': { LangPairs:{"Infoseek-EnJa":'x,x'}, ResultText: URL:"http://translation.infoseek.co.jp/?selector=0&submit=&outer&svp=OPERA&ac=Text&lng=en&original=%T" }---------------------
---------------------
Hey, "Nifty Amikai" worked!.. Nice!
thanks..
AyushAyushJ # Thursday, July 12, 2007 12:41:30 PM
For infoseek:
,'InfoSeek': { LangPairs:{'Eng to japanese':'en'}, ResultText:function(){var form=document.forms.text;return (form && form.converted && form.converted.value) }, URL:"http://translation.infoseek.co.jp/?selector=0&submit=&outer&svp=OPERA&ac=Text&lng=%FROM&original=%T" }MitsutomoMitsutomoHonma # Friday, July 13, 2007 2:59:17 AM
Hey, "Infoseek" worked!.. Nice!
Thanks AyushJ...
MitsutomoMitsutomoHonma # Saturday, July 14, 2007 7:50:15 AM
It was tested Amikai(Nifty) translation my friend,
It is said to have horizontal scrolling it.However, it was good in alice-group.amikai.com.
If it checks once again, to be sure, that is right.
If this can be corrected, I will want to need your help very much.
Because I want to add the following addresses again, I need your help with it.
- - - - - - - -
,'Excite': { LangPairs:{"ExciteGoogleTtanslateS":'EN,JA'}, ResultText: URL:"http://www.excite-webtl.jp/world/english/web/body/?wb_url=http://www.google.com/search?hl=en&q=%T&btnG=Google+Search&wb_submit=%96%7C%96%F3&wb_lp=ENJA&wb_dis=3" } } ,'lingvozone': { LangPairs:{"lingvozone-Maltchi":'x,x'}, ResultText: URL:"http://www.lingvozone.com/dictionary?action=translation_ajax&do=dictionary&language_id_from=23&language_id_to=1001&word=%T&t.x=0&t.y=0" } }AyushAyushJ # Saturday, July 14, 2007 1:39:49 PM
No horizontal scrollbar here.
For LingvoSoft
,'LingvoSoft': { LangPairs:{'English to Spanish':'23,1001'}, ResultText:function(){var tab=document.body.selectSingleNode('TABLE');if(tab){var e=tab.selectSingleNode('//EMBED');if(e)e.style='width:0;height:0';return '::HTML::'+tab.outerHTML}}, URL:"http://www.lingvozone.com/onlineforms/dictionary_online_form.jsp?action=translation_ajax&word=%T&language_id_from=%FROM&language_id_to=%TO", AllowScripts:1 }For Excite:
,'Excite': { LangPairs:{'EN to JA':'EN,JA'}, ResultText:function(){var form=document.forms.world;if(form&&form.after)return form.after.value}, URL:"http://www.excite.co.jp/world/english/?before=%T&wb_lp=%FROM%TO" }MitsutomoMitsutomoHonma # Sunday, July 15, 2007 4:17:36 AM
Hey, "Excite" worked!.. Nice!
But "Lingvosoft" did not move.
thanks!
AyushAyushJ # Sunday, July 15, 2007 10:21:33 AM
,'LingvoSoft': { LangPairs:{'English to Spanish':'23,1001'}, ResultText:function(){var tab=document.body.selectSingleNode('TABLE');if(tab){var e=tab.selectSingleNode('//EMBED');if(e){e.style.width=0;e.style.height=0};return '::HTML::'+tab.outerHTML}}, URL:"http://www.lingvozone.com/onlineforms/dictionary_online_form.jsp?action=translation_ajax&word=%T&language_id_from=%FROM&language_id_to=%TO", AllowScripts:1 }MitsutomoMitsutomoHonma # Sunday, July 15, 2007 12:20:52 PM
Hey, "Lingvosoft" worked!.. Nice!
I appreciate from the bottom of my heart.
Great thanks!
AyushAyushJ # Friday, August 10, 2007 3:06:01 AM
,'Answers.com': { LangPairs:{'Answers.com':''}, ResultText:function(){var res=document.selectSingleNode('//div[@class="content"]');return res&&('::HTML::'+res.outerHTML) }, URL:'http://www.answers.com/%T?cat=travel&nafid=3' }Screenshot
See- Anyone ported lookitup to opera?
epilos # Wednesday, August 15, 2007 1:28:27 PM
http://my.opera.com/community/forums/topic.dml?id=200737&t=1187184482&page=1#comment2199661
can you fix it please
thanks
AyushAyushJ # Friday, August 17, 2007 2:20:41 AM
Michael Daumbluesbox # Sunday, September 16, 2007 4:51:33 PM
epilos # Sunday, October 7, 2007 6:26:16 AM
http://userscripts.org/scripts/show/6128
bugs heavily large websites (freezes opera)
DiegoYeGoU # Wednesday, October 31, 2007 6:53:34 PM
Very _Goood
http://www.letenemo.cl.tc - Letenemo ! Tu punto de encuentro
http://www.portalopera.cl.tc - Portal Opera Comunidad Hispana
Rodrigohogther # Thursday, December 6, 2007 12:56:13 PM
Lytebox: http://www.dolem.com/lytebox/
jabu2oz # Tuesday, December 11, 2007 3:31:43 PM
AyushAyushJ # Sunday, December 16, 2007 11:00:01 PM
jabu2oz- Yes, it's possible if you can create a script(bash?) to parse the arguments passed to it then append the parsed string to the end of userjs.
sorry for the late replies. didn't get any notification in my watched list
AyushAyushJ # Sunday, December 30, 2007 4:58:13 AM
Originally posted by R.Badin:
Try Greased Lightbox UserScript
Rodrigohogther # Sunday, December 30, 2007 8:09:38 PM
sonica # Monday, January 7, 2008 4:50:22 PM
Rodrigohogther # Saturday, January 19, 2008 12:37:48 AM
What you think about add support to the Snap Links to check multiple check boxes?
Best Reguards
cool trickABHINAV202020 # Sunday, January 20, 2008 3:00:57 PM
KryptoKnightAleksOD # Wednesday, April 2, 2008 4:03:22 AM
nizamx # Monday, June 16, 2008 12:33:36 PM
http://www.cusser.net/extensions/imagetoolbar/
nizamx # Monday, June 16, 2008 5:12:22 PM
racingfan # Thursday, October 16, 2008 2:14:02 PM
AyushAyushJ # Thursday, October 16, 2008 2:23:02 PM
Originally posted by racingfan:
Do you use HTTPS protocol to access your CMS (url like https://cms... ) ? If yes, then enable User JavaScript on HTTPS setting in opera:config, Save and try again.
Merkuri # Friday, October 24, 2008 3:48:43 AM
Please, I need script to add Quick Reply in forums. Is that possible?
AyushAyushJ # Friday, October 24, 2008 2:11:39 PM
Originally posted by Merkuri:
See http://my.opera.com/community/forums/findpost.pl?id=2772110
zoraroZoraro # Sunday, October 26, 2008 12:32:07 PM
I need some help here. The script below, which I got from opera javascript tutorial page displays user agent, browser version e.t.c. on a bar at the bottom of the browser. I want to modify it to also display the total time left for all transfers (which is show in the transfer panel). What I need is the equivalent command to "navigator.userAgent" or "navigator.appName" to do this. I have searched all over but I couldn't get a list of all allowed commands. Thanks.
{ document.addEventListener ( 'load', function (e) { if( !document.body ) { return; } var mydiv = document.createElement('div'); mydiv.style.position = 'fixed'; mydiv.style.bottom = '0px'; mydiv.style.border = '1px solid #000'; mydiv.style.backgroundColor = '#fff'; mydiv.style.color = '#000'; mydiv.appendChild(document.createTextNode("Browser: " + navigator.appName)) mydiv.appendChild(document.createTextNode("Opera Version: " + navigator.appVersion)) mydiv.appendChild(document.createTextNode("; Cookies: " + navigator.cookieEnabled)) mydiv.appendChild(document.createTextNode("; User Agent: " + navigator.userAgent)) document.body.appendChild(mydiv); }, false ); }AyushAyushJ # Sunday, October 26, 2008 12:47:58 PM
Originally posted by Zoraro:
Not possible - you can't get that information with javascript.
zoraroZoraro # Sunday, October 26, 2008 7:58:58 PM
AyushAyushJ # Tuesday, October 28, 2008 2:18:16 AM
Originally posted by Zoraro:
Unfortunately, no. The only place where this information is available is in Transfers panel and Transfers tab.
dapxin # Wednesday, October 29, 2008 9:18:48 AM
I noticed the snap-links userjs seems to conflict with the opera pan (ctrl + alt ) shortcut...Is it me alone ?
AyushAyushJ # Wednesday, October 29, 2008 3:35:03 PM
Originally posted by dapxin:
Explain please..
dapxin # Thursday, October 30, 2008 8:47:52 AM
sorry If I was vague.
I enabled the "scroll is pan" feature on opera:config.
scroll is pan works well, but as soon as I finish scrolling a page with pan, the snap-links userjs kicks in.
It seems the script is set to trap click+drag on every page, thus making a permanent-scroll-is-pan difficult to use.
It doesn't conflict if I use ctrl+alt + pan on the page tho. Hope this clears things ?
Reza Fathzadehcscat # Saturday, November 1, 2008 12:54:43 AM
Does RIP 1.0 work on Yahoo New Mail? (I guess NO!) I want to disable the right side nagging advertisement. But hitting ctrl+shift doesn't bring the ability to remove items in there. But I tested it on some other sites and it works perfectly.
Let me add that when I remove an element from a site, and then refresh by F5 that element is back!!! shouldn't it be removed forever (as long as I have not deleted the cookies of that domain)?!
After removing an element it prompts me with this:
no application is registered with this extension. Why? (FYI: I have enabled error console and shows no error there.)
thx
A.RuzanovLex1 # Monday, December 8, 2008 10:36:09 AM
Crazy Virusam2 # Tuesday, May 26, 2009 7:46:55 AM
Øzikzakatak # Friday, August 28, 2009 7:34:47 PM
is possible to add upload action in the script?
Vladkadvlad # Wednesday, September 23, 2009 7:35:52 PM
While zooming page, the URL is zooming, too.
Any possibility to fix the original size? It'll be more convenient, I guess.
Thanks.
bankr # Sunday, December 20, 2009 9:28:24 AM
Would you give me some review on my addings to your BreadCrumb URL script:
http://my.opera.com/community/forums/findpost.pl?id=3610411
Merkuri # Sunday, January 24, 2010 5:56:58 PM
metude # Wednesday, January 27, 2010 4:48:46 PM
Could you update script for Opera 10.5?...