You need to be logged in to post in the forums. If you do not have an account, please sign up first.
My first 2 opera unite services, combining old technology with the new.
Basically what I've done over the past few weeks since Unite came into fruition is my mission was to combine Opera's userjs ability with that of Opera Unites server technology.What I've come up with is 2 of my previous userjs that only could've been done with cookies as storage.
But now with the combination of opera unite, I am able to write settings etc, DIRECTLY to the userjs and therefore not need any cookies at all.
Settings required for my unite services:
Iframes need to be on.
Javascript needs to be on.
You need to navigate to your userjs folder upon startup.
Basically I've integrated Blockit and my WIP autocomplete script
There is a basic start page for autocomplete , and for blockIt there is a settings page. No one else should be able to access these services.
The link for BlockIt service is here
And the link for autocomplete service is here
I'd like to be able to improve my autocomplete userjs's matching behavior the code is here http://files.myopera.com/shoust/files/autocomplete.css , if anyone would like to help me on that it'll make the userjs better as a whole. Thanks
And Enjoy

Thats the way it should always B.

Unblock/Block = Basically blocks or unblocks the item listed and adds it to the list.
All = Basically unblocks/blocks for all the items in the list, depending on if the button to the left is Block or Unblock.
T = Temporarily disable BlockIt for the tab, shift and click disables it for the address, to re-enable it, close and reopen the page, or if you've disabled it for the address, remove the #nsoff from the address bar and hit enter.
Dis = Disables BlockIt for the entire server, good for sites that need everything to function properly, to add it back again, hold ctrl, shift and doubleclick the page, the page will reload.
Server = Unblocks/Blocks items according to the hostname of the item listed, and adds to the list.
Preview = Previews the item in a new tab.
Thats the way it should always B.

http://files.myopera.com/shoust/files/ujsmanagerunite.us
Thats the way it should always B.

My bugs / disable RSS subscription prompt (This will disable email and chat as well) / Receive emailed copies of your bug reports
quote from desktopteam blog Feb 23 2007 06:49.36 (direct link to comment)
Originally posted by borg:
Source: Mozilla Links - 5 things I’d like to see in Operawe will not be satisfied before we have the best developer tools in the industry
Originally posted by Percy Cabello:
One of the main reasons I prefer Firefox is that it starts from the belief that it can’t be the ideal browser for everybody
1. Please add this button http://operawiki.info/CustomButtons#security (Show the Javascript Security Options) It would be nice to see such possibility
2. Add possibility to search userjs
And of course it would be nice to see your services here http://unite.opera.com/services/;)
Originally posted by shoust:
Save the file with [the appropriate] extension and drag and drop the file over opera to start.
Ah… Same technique as for (previously saved) widgets!
BTW: Any chance for using the Unite Panel's trash when deleting a .js file (or simply moving it to the system trash), instead of permanently deleting it?
"Humor is emotional chaos remembered in tranquility." - James Thurber
(iBook G4 - Panther) Opera 9.64 (5270), 10.10 (6795)

"I have heard it remarked that men are not to be reasoned out of an opinion they have not reasoned themselves into." Fisher Ames
Originally posted by OakdaleFTL:
I'd suggest changing the extension to .js.trash and then you can show deleted files easily.Any chance for using the Unite Panel's trash when deleting a .js file (or simply moving it to the system trash), instead of permanently deleting it?
My bugs / disable RSS subscription prompt (This will disable email and chat as well) / Receive emailed copies of your bug reports
quote from desktopteam blog Feb 23 2007 06:49.36 (direct link to comment)
Originally posted by borg:
Source: Mozilla Links - 5 things I’d like to see in Operawe will not be satisfied before we have the best developer tools in the industry
Originally posted by Percy Cabello:
One of the main reasons I prefer Firefox is that it starts from the belief that it can’t be the ideal browser for everybody
19. August 2009, 08:05:54 (edited)
Originally posted by d.i.z.:
The game is on! This is like extension land! :-DI have a "competing" product that I've been working on for some time now.
My bugs / disable RSS subscription prompt (This will disable email and chat as well) / Receive emailed copies of your bug reports
quote from desktopteam blog Feb 23 2007 06:49.36 (direct link to comment)
Originally posted by borg:
Source: Mozilla Links - 5 things I’d like to see in Operawe will not be satisfied before we have the best developer tools in the industry
Originally posted by Percy Cabello:
One of the main reasons I prefer Firefox is that it starts from the belief that it can’t be the ideal browser for everybody
The only problem i have is the unblock/block server function. When I use the button to unblock a server, I get the notice about the update and the server is added under "hotlist" in the blockit.js. When I reload the page everything is still blocked. Therefore I must unblock everything via the unblock button.
Originally posted by lucas18x:
Originally posted by d.i.z.:
(BTW. I have a "competing" product that I've been working on for some time now.
So, maybe you should join your forces![]()
Not impossible I guess. But competition is healthy too.

I like the feature of auto detecting and installing user scripts. Neat idea.
Am I doing something wrong here? (Firewall is configured to let unite pass, I think (I should check that now, probably), but is this necessary? I mean, it's connections within the very same computer...)
Edit: the exact error message is:
"<my.opera.com>
seems that there is no connection to opera unite, please try again."
1. September 2009, 23:35:11 (edited)
Edit: However, there still (with the now reverted script) is something broken: It does not remember any "server" unblocks. It sais "added" and it gets added (checked to .js) but reload page and everything is blocked again.
Edit2: In line 117, it should be "ty = arr;" instead of "ty = pagelist;"
Edit3:
* Would be nice though, if explicit block would override "server" unblocks (and vice versa)
* It seems to me that the images are loaded first and then hidden. If so, do you think it is possible to avoid loading them first?
EDIT: hmm, this just seems to open up a new can of worms for me.. I'll try to sort it out in a bit.
Thats the way it should always B.

Originally posted by aspseka:
Ok, got it. My unite service somehow got named "noscript_1".
You should always use the opera.io.webserver.currentServicePath to refer to the path where your service is installed, anyone can change that path or may want to install the same service twice.
8. September 2009, 11:10:51 (edited)
8. September 2009, 20:15:39 (edited)
<my.opera.com>
seems that there is no connection to opera unite, please try again.
The service name was noscript_1, I changed it to "noscript" and restarted everything, but still doesn't work.
What am I still missing?
Edit1: My bad it's working now... don't know what happened...
9. September 2009, 23:03:29 (edited)
Here is a temp fix, first double click on the blockit service and copy the address, then visit this link Create temp frame bookmarklet Then click the link there and paste the address you copied earlier, opera should then ask you if you want access, click the "always allow" option for your computer. and then in theory the only time there will be connection problems, will be when your unite service is turned off.
@aspseka re-download the script,(delete blockit.js and restart the service), you'd need to reconfigure it again to your liking, but hopefully it works better now, tell me if the problems persist.
Thats the way it should always B.

Originally posted by aspseka:
Well, I tried today's build (found that it's opera's fault and did not see your response until now) and your temp frame does not provoke opera to ask anything. It just displays the blockit admin - without improving access.
Hmm you are right... opera's security page doesn't appear if the bookmarklet is done on a data uri.
Also it doesn't give the option.. when presented with the admin page... looks like I need to change the bookmarklet a little anyway.
EDIT: Can't edit the above post, my-opera won't let me.. so try this. Create Temp Frame
Activate the bookmarklet for example on this domain, opera will then offer you the dialog asking you to approve access.
Thats the way it should always B.

12. September 2009, 23:46:24 (edited)
First, the iframe gets blocked by blockit - after unblocking (and here it works, wow!) it shows and displays the admin interface. But that's it, no promt to approve access - and for normal webpages, I still do not get access.
Afterthought: It also does not appear if I create a html page containing your script - it also displays the interface without prompting.
Edit: Also, using Unite's web server to put the html page (to make it non-local) does not give any promt.
Edit2: By following a link to a single image (that was blocked) and trying to unblock it, I got (well, within the 10s timeout) the confirmation prompt and could allow connections to unite/blockit...
Thats the way it should always B.

Changes in this version of the script:
Added a setting to allow videos to bypass the blocker/unblocker. Its a userjs only setting at the moment, called videoblock, set it to false if you want to allow videos, true if you want to block them. Basically it scans the dimensions of the object and shows if it is in a specific range.
Also fixed a problem where if there weren't any elements to block/unblock, the list from that element section will not show instead of last time where the section would appear but no list of elements.
Thats the way it should always B.

12. February 2010, 05:00:12 (edited)
Added stuff like a guide(flash tutorial), a proper configuration page, an update page for the scripts, a seperate userjs for a settings file(a_blockit_settings.js) will be installed upon update. This new settings file will not be touched, if there is an update to it, the new settings will appear at the end of the file.
Changes to the script:
1. The inverseblock setting works properly now.
2. Seperate userjs settings file.
3. Added "Config" button
4. Re-arranged some of the buttons positions & changed some of the names.
5. Added warnings of blocking/unblocking something already on the list as hostname and will not block/unblock them, this means still currently that there is not both a whitelist and blacklist, this might change in the future though.
Enjoy.
Thats the way it should always B.

12. February 2010, 09:47:31 (edited)
Edit 1: E.g. on Youtube, videos are blocked although all media and scripts is shown as unblocked. When I use DFS, it works.
Blockit config: block media and block iframes. On both Opera 10.50 Beta 1 [3248] and Opera 10.10, Win 7 Pro x32.
12. February 2010, 12:40:23 (edited)
Edit-hmm that might not be it, i'll check it soon.
Thats the way it should always B.

Basically it was a video dimensions issue regarding a setting i forgot to include in the unite application, it basically toggles blocking of what would most likely by flash or videos on the page. If you check in the a_blockit_settings.js file, the setting is there for now, i'll include that in the UI soon enough though.
Thats the way it should always B.

13. February 2010, 14:27:22 (edited)
EDIT: Scripts don't seem to be blocked. I just tried a few javascript sites and they seem to be working. Blocked scripts for the page usually just shows Google Analytics blocked. Are only external scripts blocked?
I'm unsure if scripts are blocked from downloading, but they are certainly blocked from running
Thats the way it should always B.

Installed BlockIt service via save and run with Opera 10.50. Application shows in Unite panel. JS folder is same for BlockIt settings/Opera UJS. Running BlockIt service launches Configuration page with multiple checkboxes. Checking them provides a confirmation page before returning, but the checkmark isn't there upon returning. After attempting to check the boxes and set location of button, nothing happens (no button).
Resolution?
Also, as seen in a post somewhere above mine, the address changes to noscript_1 if a previous installation of BlockIt isn't fully deleted (i.e. from the Trash folder).
-Viewy
Though if you are using the latest version, the check-boxes should be working okay because it works on the updated and seperate script settings file.
Thats the way it should always B.

OK tried both .js and now using as .ue and it's something I can't be without
Thank you very much
Is there any setting to enable this in new version?
Click the "config" button on the tool-bar(or double click my unite app in the sidebar then click config on the website that appears), then when you are there click the checkbox near to "imgblockIt". The "blocksiteresources" will have an effect on the images that is loaded on the site if off too, but that means all resources based on the website itself will be shown in their lists and blocked/unblocked by default based on the "inverseblock" setting.
Thats the way it should always B.

Meanwhile Opera 11 comes. Will the author intend to develop BlockIt as an extension?
Originally posted by ewild:
There is already this. Also, thank you for reviving a thread that hasn't been touched for several months.I don't use Opera Unite and BlockIt.js still in my favourites.
Meanwhile Opera 11 comes. Will the author intend to develop BlockIt as an extension?