| |||||||
| Top Tip : Click here to Boost Your PC & Chrome Browsing Speed |
![]() |
| | Thread Tools | Display Modes |
|
#11
| |||
| |||
| Here is a new bookmarklet for you guys. It's pretty simple. It allows you to automatically refresh a page every 10 seconds. To stop the auto refresh, simply manually refresh the page (F5). Code: javascript:void((function(){f =document.createElement("IFRAME");f.src =window.location.href;f.style.width="100%";f.style.height="100%";while(document.body.childElementCount>0){document.body.removeChild(document.body.firstChild);}document.body.appendChild(f);setInterval(function(){f.contentWindow.location.reload(true);},10000);})()) Note that it will create a frame with the page inside your browser's window. It might look a little weird but it's the only way i found to do this. You can finally leave the forum idle and you will still have the latest posts if you come later ! |
|
#12
| ||||
| ||||
| Thanks Kyrax for all those bookmarklets. I'm gonna try to make my own to search live.com images. |
|
#13
| ||||
| ||||
| Cool, thanks! They work really well. Forget about posting the tut on the blog if you don't feel like it.. It was just an idea |
|
#14
| ||||||
| ||||||
| Well I tired to make a Live Image search one. Here's what I got, It doesn't seem to work, it just gives a blank search. Quote:
View enabled cookies: Quote:
Quote:
Quote:
Quote:
Quote:
Last edited by Clouds; 04-21-2009 at 05:33 AM.. Reason: had to disable smilies |
|
#15
| |||
| |||
| Thanks for sharing Clouds ! I'll give you a tip for your Live image search. You need to figure out how their URL works. Here is a sample image search on Live : http://search.live.com/images/results.aspx?q=EXAMPLE I searched for example. What you want to do is replace EXAMPLE with document.getSelection().toString(); |
|
#16
| ||||
| ||||
| There's already a pretty funky calculator in Chrome ... Try this ... type in the Omnibar 26lbs in kilograms or 300ft in metres .... or if you want to get really clever 160 pounds (force) * 400 feet in calories Its reasonably free format (and quite cool) .... http://www.google.co.uk/intl/en/help...tml#calculator Enjoy :-D Last edited by StevePaul; 04-21-2009 at 05:56 AM.. Reason: Added another calculation for effect ... |
|
#17
| |||
| |||
| Hi, Kyrax I do a lot of papers and reports for my degree course, and would love a bookmarklet that would add any highlighted text to one of a selection of folders which I could name myself. That way I could copy quotes or text and author's names, websites, publishers etc. and reference them as I browse! |
|
#18
| |||
| |||
| Quote:
I worked on your request.. however i ran into a lot of problems. First of all, it is of course not possible to interact with folders and files on the client's computer for obvious security reasons. So i figured a new window would have to do. However, javascript executed in a window has it's own scope and cannot interact with other windows. What that means is that for every page you visit, you will have a new "notes" window. It's kind of hard to explain, i'll let you try the bookmarklet. I sure hope that it still suits your needs. To use it : Go to a page, select some text and click the bookmarklet. A new about:Blank page will open. It will be focused, there's nothing i can do about that (another security reason). Go back to your interesting page's tab and select more text. Click the bookmarklet again. This time, you won't see anything happen but the text is copied onto the "about:Blank" page. The sad thing is that anytime you change page or click an hyperlink, the bookmarklet will open another new tab. Here's the code : Code: javascript:if(typeof _B=='undefined'){var _W=window.open("about:blank");var _B=_W.document.createElement("TEXTAREA");_W.document.body.appendChild(_B);_B.style.width="100%";_B.style.height="100%";};go(); function go(){_B.innerHTML=_B.innerHTML+=document.getSelection().toString()+'\n';} juliamontelinpowers, please tell me what you think of it. |
|
#19
| |||
| |||
| I'm so new to this, I don't know what to do with the code you gave me! Could you give me simple directions, or direct me to a page that will walk me through it? The idea seems good in theory. Hope I haven't been wasting your time; Regards, Julia |
|
#20
| |||
| |||
| Simple right click your bookmark bar, Add Page. Name : Right a name that you like. URL : Copy and paste the code i gave you earlier. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wiki-it! Bookmarklet | Kyrax | Chrome Plugins | 8 | 11-15-2009 10:47 PM |
| Bookmarklet for PageRank | woz2 | Chrome Plugins | 4 | 04-15-2009 02:35 AM |
| Google Translate Selected to Any Language - Bookmarklet | vietnam | Chrome Tips & Tricks | 3 | 04-10-2009 03:06 PM |