Firefox Extension: one-step image transloading to Phyrefile!

Can someone make this extension for Chrome too? :D Obviously it fixed itself on its own in Firefox.
 
Chrome's extension API doesn't currently allow modifications to the context menu.
The Gleam API that would allow this is currently in the proposed state.

A workaround could be to add a button to the end of the address bar like the RSS button in the image below when an image is open. Drawback would be that this is a three step process (open image in new tab, select new tab, click button) rather than one. If that's still acceptable then I'll knock something together.
page-action.png



The much simpler way of doing a similar thing without writing an extension is adding the following code as a bookmark and clicking it when the image you want transloaded is open.
Code:
javascript:window.location="http://www.phyrefile.com/transload.php?url=" + window.location
 
Last edited:
Unless there's a way to pin bookmarks to the address bar along with extensions, I'd like the button. I don't use the bookmark toolbar, so going that way is a bit much. Thanks for the work mang!
 
Ok, what the hell?

I've got my preferences set to Phyrefile, but it keeps trying to load to Image Shack. Also, when I Ctrl-V to get the link it comes up like this:

http://img237.imageshack.**/img237/4909/smilez.gif' onClick='pageTracker._trackEvent("done-click","old-link-direct-link");

Is a fix in the works? Does anyone else have this problem?
 
It has been an on-again off-again error for me - and it happens with both ImageShack and Phyrefile settings.
 
*shrug*

I've switched to Chrome now anyway and am just waiting for the extension.
 
Are there adblocking plugins for that yet?
 
Yes, if you run the beta version, but the thing I've noticed about is that facebook chat is very laggy (still ok in FF) and there's no wysiwyg editor for vBulletin. :S

EDIT: the fb chat thing is related to jscript, google maps is wonky atm too, I think I need a reboot.
 
Walk three sunwise circles backwards around a sacrificed chicken while naked and singing "I'm Henry VIII I am" at the top of your lungs.
 
Bump. Is this addon still being updated? When will the 3.6 compatible version be out?
 
I have no idea, but this plugin has been broken for months.

I'm tempted to just uninstall it and go back to doing things the old fashioned way. At first it was just annoying but now the stupid thing is pasting in pages and pages of code instead of a link.
 
This is what it does for me:

Code:
[URL=http://imageshack.**][IMG]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="EmulateIE7"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>ImageShack® - Online Media Hosting </title>
<meta name="copyright" content="Copyright 2009 ImageShack"/>
<!-- <meta name="description" content="ImageShack"/> -->

<meta name="keywords" content="ImageShack, free image hosting, free video hosting, image hosting, video hosting, photo image hosting site, video hosting site "/>
<meta name="robots" content="index,follow"/>

<link href="/css/blue_round.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="/css/done.css"/>
<link rel="stylesheet" type="text/css" href="/locale/en/locale.css"/>


<link type="application/rss+xml" href="http:////9476/.comments.xml" title="RSS" rel="alternate"/>




<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

<!-- PUT THIS TAG IN THE head SECTION -->
<script type="text/javascript" src="http://partner.googleadservices.com/gampad/google_service.js">
</script>
<script type="text/javascript">
    GS_googleAddAdSenseService("ca-pub-7137941865592088");
    GS_googleEnableAllServices();
</script>
<script type="text/javascript">
    GA_googleAddSlot("ca-pub-7137941865592088", "Imageshack_DonePage_Bottom");
    GA_googleAddSlot("ca-pub-7137941865592088", "Imageshack_DonePage_Top");
    
</script>
<script type="text/javascript">
    GA_googleFetchAds();
</script>
<!-- END OF TAG FOR head SECTION -->



</head>

<body>
<!-- Start Google Analytics -->
<script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
    try {
        var pageTracker = _gat._getTracker("UA-6232220-1");
        pageTracker._initData();
        pageTracker._setDomainName(".imageshack.**");
        pageTracker._trackPageview();
                pageTracker._trackEvent('page-speed', 'donepage', '0.015');
            } catch(err) {}
    </script>
<!-- End Google Analytics -->

<div class="layout">
    <div class="indent">
    <div id="top">       
         <div class="top_form right">
                        <div id="signOut" class="signOut">
               <a href="http://my.imageshack.**/registration" onClick="pageTracker._trackEvent('new-header-click','header-register');">Sign Up</a>    |    <a href="javascript:;" id="btnlogin" onClick="pageTracker._trackEvent('new-header-click','header-signin');">Login</a>  
            </div>            
            <!-- Search -->            
            <div class="search-box right" style="cursor:nohand; background:transparent;">
                <form method="get" action="/new_search.php" id="searchform">
                  <div class="left">
                                        <input name="q" id="searchfield" style="height:18px; padding-top:3px; font-family:Verdana,Arial,sans-serif; font-size:12px;" 
                     
                      onfocus="focussearch(this, 'Search'); pageTracker._trackEvent('new-header-click','header-search');" value="Search"
                     />  
                  </div>
                  <div class="left" style="margin-top: 4px">
                    <a id="searchbutton" href="#" style="margin:0; padding:0; border:none;" onClick="pageTracker._trackEvent('new-header-click','header-search-btn');">
                    <img src="/images/blue/arrow-right-round.gif" width="21px" height="20px" /></a>
                  </div>
                 </form>
            </div>     
         </div>
         <div class="logo"><h1><a href="http://imageshack.**/" onClick="pageTracker._trackEvent('new-header-click','header-logo');">ImageShack</a></h1></div>      
         <div class="clear"></div>         
     </div>
<!-- Main Menu  -->
<div id="menu">
    <ul class="sf-menu">
        <li class=""><a class="topanchor" href="http://imageshack.**/">Media Upload</a></li>                                                             
        <!--<li style="width:329px; cursor:nohand; background:transparent;">
        </li>-->        
        <li id="menu_signupgrade" style="width:251px;"
            class="">
                    <a class="topanchor" href="http://my.imageshack.**/registration" onClick="pageTracker._trackEvent('new-header-click','header-menu-register');">Sign Up</a>
                  </li>                                                             
        <li class=""><a class="topanchor" href="http://reg.imageshack.**/content.php?page=features" onClick="pageTracker._trackEvent('new-header-click','header-menu-tools');">Tools</a></li>                                                             
        <li id="menu_myimageshack" class="">
                <![if !IE]>
                <a class="topanchor" href="javascript:;" 
                style="border-right:none" 
                 
                >My ImageShack</a>
                <![endif]>
                <!--[if IE]>
                <a class="topanchor" href="javascript:;" 
                style="border-right:none" 
                 
                >My ImageShack</a>
                <![endif]-->
               
                     </li>                                                          
    </ul>
</div>      

<div class="clear"></div>

<div id="mist" class="mist"></div>
<input type="hidden" id="url_image_path" value="img29/9476/18160912qz1.jpg" />
<div class="clear"></div>

<div class="left-col left">

<!-- Actions Info Div -->
  <div class="action-div">
    <div id="action-share" style="top:160px">
    </div>
  </div>   
        
        
<!-- Tags -->
<input id="sserver" type="hidden" value="29">
<input id="filename" type="hidden" value="18160912qz1.jpg">  
  
<!-- Thumb image section -->
  <div class="userimage-info">
    <div style="width:175px; float:left">
      <div class="main-title" style="margin-bottom:8px">Upload Successful <img src="/images/blue/check.png" width="18px" height="13px" /></div>
      <a onclick="pageTracker._trackEvent('new-done-click', 'thumb');" href="http://img29.imageshack.**/i/18160912qz1.jpg/">
                        <img  width="155px"  src="http://img29.imageshack.**/img29/9476/18160912qz1.th.jpg" style="_float:left"/>
                    </a>
    </div>
    <div id="right" class="link" style="_float:left; height:152px; width:150px; overflow:hidden;">
      <div class="main-title">
        <div style="width:150px; word-wrap:break-word;">Name: 18160912qz1.jpg</div>
        <div>Size: 54Kb</div>      </div>

      <div class="main-title" style="margin:30px 0 2px;">
        <a href="http://img29.imageshack.**/img29/9476/18160912qz1.jpg" onClick="pageTracker._trackEvent('new-done-click','donepage-click-text-download');">View full size</a>
      </div>
      
      <div class="main-title" style="margin:2px;">
                  <a href="javascript:void(0)" onClick="show_login(); pageTracker._trackEvent('new-done-click','donepage-click-text-download'); return false;">Delete</a>
              </div>
      <div class="main-title" style="margin:2px;">
                  <a href="javascript:void(0)" onClick="show_login(); pageTracker._trackEvent('new-done-click','donepage-click-text-download'); return false;">Add tags</a>
              </div>
    </div>      
  </div>
  
<!-- Share section-->
  <div class="reducetop" style="float:left; height:75px; width:322px; background-color:#FFFFFF; border-top: 1px #cccccc dotted; border-bottom: 1px #cccccc dotted;">
    <div style="margin-left:0px;margin-top:8px;color:#424242;width:100%;"><span class="main-title">Share your image:</span>
    <span class="done-more"><a href="javascript:;" class="act_share" onClick="pageTracker._trackEvent('new-done-click','landingpage-share-more-icon-click');" title="Share"/>More >></a></span></div>
    <div id="Actions" style="margin-left:0px;margin-top:8px;color:#424242;width:100%;">
      <!--
          <img style="float:left;margin-top:1px;" src="/images/myspace.png" />
      -->
          <script type="text/javascript">
          
          function GetThis(T, C, U, L)
          {
                  var targetUrl = 'http://www.myspace.com/index.cfm?fuseaction=postto&' + 't=' + encodeURIComponent(T)
                  + '&c=' + encodeURIComponent(C) + '&u=' + encodeURIComponent(U) + '&l=' + L;
                  window.open(targetUrl);
          }
          </script>
           
      
          <a onClick="pageTracker._trackEvent('new-done-click','landingpage-share-myspace-click');" href="javascript:GetThis('ImageShack Posting','<img src=\'http://img29.yfrog.com/img29/9476/18160912qz1.jpg\[/IMG][/URL]
 
Not all images can be transcoded. Some cause it to fail, though I've never seen that before. I know if I try to transcode any image from netcarshow, they block it. But otherwise, it works fine for me.
 
Try it on my signature, that was what I was trying to do when it kicked that. It's also doing it consistently. It's also doing it on your sig.
 
Top