I also tryed inserting the library inside the page ... it works on a normal 
HTML page but not when it's inserted inside the page with GM. You can copy 
the HTML for your self and see ... the dragging script works.

// ==UserScript==
// @name CF Informer by CyberSee
// @namespace http://dramis.info
// @description Critical Fusion
// @include *kabam*
// ==/UserScript==

// Verssion
var version = "1.0.1"; 
window.addEventListener("load", function load(event){

///////////////////////////////////////////////////////////////////////////
    
var centerdiv = document.createElement("div");
var dramiscenter, newElement;

centerdiv.innerHTML = '<script 
src="http://jqueryui.com/jquery-1.7.1.js";></script><script 
src="http://jqueryui.com/ui/jquery.ui.core.js";></script><script 
src="http://jqueryui.com/ui/jquery.ui.widget.js";></script><script 
src="http://jqueryui.com/ui/jquery.ui.mouse.js";></script><script 
src="http://jqueryui.com/ui/jquery.ui.draggable.js";></script><script>$(function()
 
{$( "#draggable" ).draggable();});</script><div id="draggable" 
class="ui-widget-content" style="border:1px solid black; height:410px; 
width:200px; left:8px; opacity:0.7; background-color:#000000; z-index:3000; 
position:absolute; top:100px; color:#FFFFFF;"><span style="cursor:move; 
font-family:verdana; font-size:11px;">Drag me</span><iframe 
style="height:400px; width:200px; left:8px; opacity:0.7; 
background-color:#000000;" src="http://**CENSORED**";></iframe></div>';
dramiscenter = document.getElementById('sitemap');

if (dramiscenter) {dramiscenter.parentNode.insertBefore(centerdiv, 
dramiscenter.nextSibling);}

}, false);


On Wednesday, 21 March 2012 09:14:22 UTC-4, [email protected] wrote:
>
> Hey guys i am trying to add a draggable div inside a website and for 
> some reason it's not working at all 
>
> // ==UserScript== 
> // @name CF Informer by CyberSee 
> // @namespace http://**CENSORED** 
> // @description Critical Fusion 
> // @include *kabam* 
> // @require http://jqueryui.com/jquery-1.7.1.js 
> // @require http://jqueryui.com/ui/jquery.ui.core.js 
> // @require http://jqueryui.com/ui/jquery.ui.widget.js 
> // @require http://jqueryui.com/ui/jquery.ui.mouse.js 
> // @require http://jqueryui.com/ui/jquery.ui.draggable.js 
> // ==/UserScript== 
>
> $(function() {$( "#draggable" ).draggable();}); 
>
> // Verssion 
> var version = "1.0.1"; 
> window.addEventListener("load", function load(event){ 
>
> var centerdiv = document.createElement("div"); 
> var dramiscenter, newElement; 
>
> centerdiv.innerHTML = '<link rel="stylesheet" href="http:// 
> jqueryui.com/themes/base/jquery.ui.all.css"><div id="draggable" 
> class="ui-widget-content" style="border:1px solid black; height:410px; 
> width:200px; left:8px; opacity:0.7; background-color:#000000; z-index: 
> 3000; position:absolute; top:100px; color:#FFFFFF;"><span 
> style="cursor:move; font-family:verdana; font-size:11px;">Drag me</ 
> span><iframe style="height:400px; width:200px; left:8px; opacity:0.7; 
> background-color:#000000;" src="http://**CENSORED**";></iframe></div>'; 
> dramiscenter = document.getElementById('sitemap'); 
>
> if (dramiscenter) {dramiscenter.parentNode.insertBefore(centerdiv, 
> dramiscenter.nextSibling);} 
>
> }, false);

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/greasemonkey-users/-/s9-qol_0PhkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to