لتجربة الآلاف من الإضافات المتوفرة هنا، نزّل متصفح موزيلا فَيَرفُكس مجانًا. المتصفح الأسرع والأكثر أمانًا في عالم الإنترنت.
Closeمرحبا بك في إضافات فَيَرفُكس.
اختر من بين الآلاف من المميزات والمظاهر الإضافية واجعل فيرفُكس ملكًا لك.
CloseOrphus
معلومات عنّي
الاسم | Orphus |
---|---|
مُستخدم منذ | نوفمبر 30, 2010 |
عدد الإضافات التي طورتها | 0 إضافة/إضافات |
معدّل التقييم من مطوري الإضافات | بلا تقييم حتى الآن |
تعليقاتي
Kickass.to torrent search
مقيمة بـ 5 من 5 نجوم
autocompletion is cool
هذا التعليق كان على إصدارة سابقة من هذه الإضافة (20091028)Torrent Freedom - free torrents search
مقيمة بـ 5 من 5 نجوم
This is very useful plugin, but look at this:
private function write($str, $translate = FALSE) {
if ($translate) {
$this->translate_queue[] = $str;
$this->translate_length += strlen($str);
if ($this->translate_length > TRANSLATE_BLOCK)
$this->flush();
} else {
$this->write_queue[] = $str;
}
}
private function flush() {
$this->translate_length = 0;
if (count($this->translate_queue) > 0) {
$block = '';
$this->separator_counts = array();
$n = count($this->translate_queue);
for ($i=0; $i<$n; ++$i) {
$this->separator_counts[$i] = substr_count($this->translate_queue[$i], TRANSLATE_SEPARATOR);
$block .= ($block!=''?' '.TRANSLATE_SEPARATOR.' ':'') . $this->translate_queue[$i];
unset($this->translate_queue[$i]);
}
$translated_parts = explode(TRANSLATE_SEPARATOR, $this->google->translate($block));
for ($i=0; $i<$n; ++$i) {
$str_parts = array();
do {
$str_parts[] = array_shift($translated_parts);
$this->separator_counts[$i]--;
} while ($this->separator_counts[$i] >= 0);
$this->translate_queue[$i] = implode(TRANSLATE_SEPARATOR, $str_parts);
}
flush();
}
$n = count($this->write_queue);
for ($i=0; $i<$n; ++$i) {
fwrite($this->fout, $this->write_queue[$i]);
unset($this->write_queue[$i]);
if (isset($this->translate_queue[$i])) {
fwrite($this->fout, trim($this->translate_queue[$i]));
unset($this->translate_queue[$i]);
}
}
$this->translate_queue = array();
$this->write_queue = array();
}
private function get_part($separator, $translate = FALSE) {
while (($pos = strpos($this->buffer, $separator)) === FALSE && !feof($this->fin))
$this->buffer .= fread($this->fin, BUFFER_PART);
if (!feof($this->fin)) {
$pos = $translate? $pos: $pos+strlen($separator);
$part = substr($this->buffer, 0, $pos);
$this->buffer = substr($this->buffer, $pos);
$this->write($part, $translate);
return TRUE;
} else
return FALSE;
}
I see there is an error.
لإنشاء مجموعاتك الخاصة، يجب أن تمتلك حسابا على موقع إضافات موزيلا.