Domain: userjs.org
Stories and comments across the archive that link to userjs.org.
Comments · 34
-
Re:Opera allows those ugly Flash ads.
Or configure Preferences -> Advanced -> Content -> JavaScript Options -> User JavaScript files (or the appropriate opera:config page I hopefully just linked to; opera:config#UserPrefs|UserJavaScriptFile), and drop hide-objects.js in the folder you configured; flash will then be blocked until you double-click to load them.
-
Re:its all about the addons
-
Re:Some more info and removal instructions
For Opera users, here is a userjs that does something very similar. If you're so inclined, you can also manually change what it blocks in the javascript itself.
-
Re:Opera compatibility vs the other two?
User JS to the rescue!
Hide objects until double click (Flash block)
Hides all objects, embeds, applets, and iframes (you can add to this list, or remove from it). Once the page has loaded, you can double click to display them again. The script can optionally display a notification when it blocks something. By default, this notification is shown for 5 seconds.
Hidden objects are optionally replaced with a placeholder that you can click to show each individual object. This is also keyboard accessible - use Shift+Left/Right/Up/Down to select the placeholder, and press Enter/Return to unhide the object.
-
Re:More goodies since v8
I could block IFRAME elements with that, but seemingly cannot in Opera
You can go to site-specific settings and block all IFRAME elements on the page as long as all IFRAMEs on the page are ones you want to block. Otherwise, there may be some UserJS script you can use. -
Re:How about an APIThat can be done with JavaScript (and thus within Opera). Just do something with this pseudocode:
1. Get all embed src, img src, and a href links stored to an array -- simple with regex and the DOM functions
You're done! I'm actually surprised no one has done this for Opera yet. I imagine a simple modification of this script would work wonders. Now, I'm not sure if opening a new window and pasting the generated content in it is possible, so instead one might try
2. (optional) Remove htm, html, pl, php, py, asp urls from the array (or just remove all that are not from some predefined list of desired filetypes) -- this can be done with the regex commands of JS
3. Create an html page in a new window with form code which lists with checkboxes each of the links in the array.3. Store the current page in a string and then replace the current page with the form with checkboxes.
This would work, no?
4. When the user wants to go back to the page, in the form page there can be a hypertext reference with <a href="javascript:document.body.innerHTML=StringWhi chHoldsTheOriginalPage;"> or whatever the proper function call is -
Re:More goodies since v8
UserJS.org has a script to block iframes etc with click-to-load. Also note the content blocker is an URL filter; you can add URLs to it manually even if you can't actually click an object to add it for you, which is useful with things like the that awful Intellitext link crap (which is only exposed via a <script> line, not a visible object) and of course you can put the URLs of your most hated iframe contents in there too.
-
Re:More goodies since v8
UserJS.org has a script to block iframes etc with click-to-load. Also note the content blocker is an URL filter; you can add URLs to it manually even if you can't actually click an object to add it for you, which is useful with things like the that awful Intellitext link crap (which is only exposed via a <script> line, not a visible object) and of course you can put the URLs of your most hated iframe contents in there too.
-
Re:How about an API
While not quite the same as extensions, Opera does support user javascript: see http://userjs.org/. You might also find the content blocker useful. It isn't as advanced as Firefox's (it doesn't support IFRAME blocking, e.g.), and still seems to have a couple bugs on sites I visit, but it's certainly been pretty useful. And it's probably worth noting that Opera also supports AJAX widgets; I'm sure that these will be more than playthings in the future (but for now, I'll play Tetris while waiting for builds to complete).
The interface for setting site preferences is kind of nice, too; CollegeFootballNews can no longer spam me with popups for every click (not that Firefox can't do this, of course; but Opera's setup is a lot more convenient), and I can set cookie preferences for every site almost instantly.
I'll probably convert if the Thunderbird import works well. -
Re:How about an API
Opera does have extensions. They call it User JS.
Here is a good repository: http://userjs.org/ -
Re:FlashBlock
http://userjs.org/scripts/general/enhancements/hi
d e-objects
From the page:
"Hides all objects, embeds, applets, and iframes (you can add to this list, or remove from it). Once the page has loaded, you can double click to display them again. The script can optionally display a notification when it blocks something. By default, this notification is shown for 5 seconds.
Hidden objects are optionally replaced with a placeholder that you can click to show each individual object. This is also keyboard accessible - use Shift+Left/Right/Up/Down to select the placeholder, and press Enter/Return to unhide the object."
I've been using that for a while now. I'm really in love with it.
There whole page is filled with lots of neat userjs for Opera: http://userjs.org/ -
Re:FlashBlock
http://userjs.org/scripts/general/enhancements/hi
d e-objects
From the page:
"Hides all objects, embeds, applets, and iframes (you can add to this list, or remove from it). Once the page has loaded, you can double click to display them again. The script can optionally display a notification when it blocks something. By default, this notification is shown for 5 seconds.
Hidden objects are optionally replaced with a placeholder that you can click to show each individual object. This is also keyboard accessible - use Shift+Left/Right/Up/Down to select the placeholder, and press Enter/Return to unhide the object."
I've been using that for a while now. I'm really in love with it.
There whole page is filled with lots of neat userjs for Opera: http://userjs.org/ -
Re:Good :D
The equivalent technology is called User JavaScript with Opera. Greasemonkey scripts can be run in Opera, a tutorial has more detail. You can also run User JavaScript, which you could find for instance on the userjs.org site.
-
Additional links
Here are some additional links with more information and screenshots, so you won't have to wade through all of the Opera forums to find them:
- The Slashdot Widget
- Pictorial walkthrough of Opera 9
- UserJS.org -- Granted, Opera can run many Greasemonkey scripts, the userjs.org feature of Opera allows some additional capabilities. These scripts are all compatible with Opera, and have undergone QA to verify that scripts are non-malicious, and as efficient as possible
- Widget developer tutorial - If you want to get started writing widgets, here's where to go
- Screenshots and explanations around the tab (and ctrl-tab) thumbnails
- Opera Search engine customization
- In-depth information about the content blocker
- Opera User stylesheet information
-
Re:Bye Firefox ... its been fun
you can have a panel with a weather forecast in Opera. About the bugmenot, here it is
:)
http://userjs.org/scripts/general/enhancements/bug -me-not -
Re:Opera was my fav,
-
Re:Great out of the box, yes, but then that's it.
While opera is a faster, more stable browser (probably because it isn't open source) and is loaded with many great features, those features are it.
No those features aren't it. Between, buttons, pannels, UserJs, menu setups, and Opera mini programs Anyone can do a lot to add functionality to their Opera. The key addable feature, of course, is an ad blocker program.
It's also fairly easy to make changes to operas
.ini files yourself. You don't need to download an extension just to add an "Open in IE" to your right click menu.With Firefox you can download extensions to make tabbed browsing even better than just having multiple tabs. You can download extensions to label and organize tabs and give the ability to drag them, and to have pages that should open in a new window, open in a new tab instead.
Wow you can drag tabs? How amazing! Wouldn't it be great if you could do those things out of the box? Wouldn't it be great if the tab focus order was based off order of viewing just like the Windows task bar? That would be sweet.
Where Opera really beats Firefox is in the download manager. There is just no comparison. I'm still shocked that Firefox lacks a spell checker(except google toolbar), when both Opera and Safari have one.
-
Re:Lets hope they open source it
Well, apart from using a custom hosts file, you can write extensions in Opera. Just tell it to load up user javascript. There are plenty of scripts at UserJS and, while it doesn't have the huge following that FF Extensions have, there is a script that'll block Embeds, Objects and Iframes (which I use).
onedotzero
thedigitalfeed.co.uk -
Re:Opera beats out Gecko
some I miss particularly -
... the flash click to play thingee
Try this. -
Re:So much for this
You mean the same "respected usability professionals" that publish on websites for which other people feel the need to publish an Opera user Javascript (like Greasemonkey for Firefox) to fix the readability?
-
Re:Wrong date?!
It would be nice though if there was a site-specific hook to hang a user stylesheet upon, such as <body class="it-slashdot-org slashdot-org">
Try user javascript if you're using Opera, or Greasemonkey if you're using Firefox. Then use Simple site signatures: http://userjs.org/scripts/general/developer_tools/ simple-site-signature -
Re:I like it, though won't use it
I use this script to hide ads in Opera until i click them.
Not quite as smooth as the Firefox flashblock plugin, but opera has many other nice features, and has been my preferred windows browser since the aniversary giveaway. At home however I have a Powerbook, and uses Pithhelmet to kill the ads. -
Re:My reasons for not switching.
-
Re:My reasons for not switching.
-
Re:Pretty smartDoh! Wrong post... Here's what I was going to post:
"If only it could do flashblock."
Flashblock-ish -
Free as in beer
Which means it is also cool, fuzzy and makes you dizzy! Purrfect
;)
Some people might even get courageous after using it. And others might even get more chicks/hunks.
Don't forget to pay the newly released community portal a visit too: http://my.opera.com/
If you think you are going to miss some extensions when switching take a look at the informative postings here:
http://virtuelvis.com/archives/2005/01/opera-and-f irefox-extensions
or here
http://virtuelvis.com/archives/2005/09/opera-and-f irefox-extensions-ii
For even more User JavaScripts look at http://userjs.org/ -
Re:Have you looked at Opera??
Try http://userjs.org/ , it has lots of nice "extensions" for Opera.
Some people would argue that Opera already has all the features needed. Personally I don't agree though :) -
Re:how are they surviving
>> To rephrase, why ought I migrate to Opera? in my case because i can't get around the fact that is is ludicrously more responsive. there is almost no department in which it isn't ridiculously quick... and i actually rather like firefox -- i've written four extensions for it, for example -- but my own 95% of the time browser is opera. also, now v8.0 added the UserJavaScript API, a number of greasemonkey-like plugin/extensions are available. have a look at what's available so far: http://userjs.org/
-
Re:Codes are for
Opera has a lot of nifty "extensions" by using User Javascript. That means JavaScript snippets that are appended to web pages (this in addition to being able to have JavaScript in buttons and panels)
The webpage http://userjs.org/ has a lot of them listed.
NukeExtension and Flashblock:
http://userjs.org/scripts/general/enhancements/hid e-objects
http://userjs.org/scripts/general/enhancements/rem ove-transparent-flash
Open new tab when typing address:
Type this in the addressbar:
javascript:void window.open("http://cnn.com");
Ok, a but long, but you can add a button that pops up a requester (and open the address in a new tab) in a very simple manner.
You can also cut'n'paste the address and when middle clicking tell opera to open that url in a new tab. -
Re:Codes are for
Opera has a lot of nifty "extensions" by using User Javascript. That means JavaScript snippets that are appended to web pages (this in addition to being able to have JavaScript in buttons and panels)
The webpage http://userjs.org/ has a lot of them listed.
NukeExtension and Flashblock:
http://userjs.org/scripts/general/enhancements/hid e-objects
http://userjs.org/scripts/general/enhancements/rem ove-transparent-flash
Open new tab when typing address:
Type this in the addressbar:
javascript:void window.open("http://cnn.com");
Ok, a but long, but you can add a button that pops up a requester (and open the address in a new tab) in a very simple manner.
You can also cut'n'paste the address and when middle clicking tell opera to open that url in a new tab. -
Re:Codes are for
Opera has a lot of nifty "extensions" by using User Javascript. That means JavaScript snippets that are appended to web pages (this in addition to being able to have JavaScript in buttons and panels)
The webpage http://userjs.org/ has a lot of them listed.
NukeExtension and Flashblock:
http://userjs.org/scripts/general/enhancements/hid e-objects
http://userjs.org/scripts/general/enhancements/rem ove-transparent-flash
Open new tab when typing address:
Type this in the addressbar:
javascript:void window.open("http://cnn.com");
Ok, a but long, but you can add a button that pops up a requester (and open the address in a new tab) in a very simple manner.
You can also cut'n'paste the address and when middle clicking tell opera to open that url in a new tab. -
Useful sites for all the new Opera users
When you finished
/.ing opera.com or still need reasons why to use Opera you might want to have a look at the following sites:
Opera Wiki
Opera Userjavascripts at userjs.org
30 Days to becoming an Opera8 Lover -
Opera's answer...
Time to try out Opera's User JavaScript.
-
Re:Greasemonkey!
FWIW, User JavaScripts is the Opera version of it, and it has a Greasemonkey compatibility mode.
Yes, I should've mentioned Opera. It's not 100% GM compatible but many GM scripts will work. Here's a page with some Opera-specific scripts (that page also links to the main Opera script repository), including a GM emulation library (implements various GM_* functions, and adds a few hacks for compatibility), but I ran into some implementation issues I documented here, about 2/3rds of the way down the post.