I wanted to stop CNN from popping up it's terms of service so I wrote
the following script.
// ==UserScript==
// @name cnn terms of service
// @namespace localhost
// @description Remove CNN terms of service notice
// @include http://www.cnn.com/*
// @include http://cnn.com/*
// @require
https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
// ==/UserScript==
$(document).ready( function() {
$('.user-msg').remove();
});
It works but if it is used on a page that has a picture or video at the
top of the page and underneath it is a horizontal slideshow, the
elements of the slideshow will rearrange themselves vertically down the
page.
As I was trying figure this out I found that even if I commented out the
entire body of the script the slideshow would be rearranged vertically.
Does anyone have any idea of what is causing this?
Thanks, Jim
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.