26th Apr, 2006

Pastebin clipboard support

I had a feature suggestion to add a “copy to clipboard” link to pastebin.com. This was easy for IE, but I had a hard time getting Firefox to play ball. There’s an article at MozillaZine covering the issue, but I wasn’t able to get the technique to work. If anyone knows how, let me know!

I know clipboard access is a potential security vulnerability, but Firefox has the right idea in explicitly granting sites access to the clipboard rather than IE’s rather dumb “yeah, clipboard, here you go!” approach.

Anyway, for the time being, a bit of javascript during onload will figure out if your browser can do clipboard copies and will insert a “copy to clipboard” link when you’re looking at a post. Seems like a handy feature.

There’s also been a few bug fixes since the release a few days ago.

Download pastebin.tar.gz (130 KB)

Responses

Thank You Sir.

:)

lib\pastebin\pastebin.class.php

line: 253
$post['parent_diffurl']=$this->conf['this_script'].”diff=$pid”;

to:
$post['parent_diffurl']=$this->conf['this_script'].”?diff=$pid”;

line 257 :o my mistake.

Thanks for that, I’d fixed on the live site this morning but not updated the downloadable package yet – will update that shortly.

i’ve seen the same problem with cut&paste not working in recent firefoxen, and all the suggested workarounds and user_pref() settings don’t seem to help… .(
pity because i need it for a wysiwyg content editor in my apache lenya cms…

There is a software to download any video from YouTube called RipTiger (riptiger.com). Im running it for over a month and captured any video I was playing from internet on my computer 1 to 1.
BTW, its possible to save up to 10 12 videos in parallel

Всем привет!
Программа SoftHell PM-Bot (старое название HACSoft PM-Bot), служит для массовой рассылки личных сообщений по форумам.
Возможности:
1. Работает со многими типами форумов:SMF, ExBB, IPB1, IPB2, IPB3, IPB2 MR, miniBB, phpBB2, PunBB, vBulletin2, vBulletin 3(по 5 сообщений за раз), vBulletin3 MR(по 5 сообщений за раз)
2. Настройки к форумам описываются в специальных драйверах, т.е. при желании программу можноcasortad knedgend
настроить и на другие форумы.
3. Рассылка от нескольких пользователей одновременно (обход антифлуда).
4. Работа через прокси-сервер.
5. Система вариаций
6. И многое другое…

Программа обновилась до версии 2.1, не поддавайтесь на уловки мошенников со взломанной, устаревшей и не работающей версией программы.
Цена 4500 руб. Возможно покупка через гаранта.
Контакты: icq 574444591
Сайт: http://softhell.ru
Жду всех а аське.

Leave a response

Your response:

Categories